diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-03 12:25:52 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-03 12:25:52 +0000 |
commit | 6782a77f3ed7dce8872a09a6fb97148886967734 (patch) | |
tree | 7883712988d6f9ed3808f656a8f54aa9b717ca7f /ace/Future.cpp | |
parent | c5c5462fbb178b65ab3a2a2a2b3e2a99d5458c9e (diff) | |
download | ATCD-6782a77f3ed7dce8872a09a6fb97148886967734.tar.gz |
restore ACE_Atomic_Op instantiation because it is needed with g++
Diffstat (limited to 'ace/Future.cpp')
-rw-r--r-- | ace/Future.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ace/Future.cpp b/ace/Future.cpp index 879d627f2fb..75eee48a85f 100644 --- a/ace/Future.cpp +++ b/ace/Future.cpp @@ -311,5 +311,16 @@ ACE_Future<T>::operator &() { } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) +// This should probably be moved elsewhere now that ACE_Atomic_Op<> +// isn't used. +template class ACE_Atomic_Op<ACE_Thread_Mutex, int>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +// This should probably be moved elsewhere now that ACE_Atomic_Op<> +// isn't used. +#pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, int> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + + #endif /* ACE_HAS_THREADS */ #endif /* ACE_FUTURE_CPP */ |