summaryrefslogtreecommitdiff
path: root/ace/Containers_T.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-21 19:53:19 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-21 19:53:19 +0000
commit51938d8266ebf28802274a87502a383072e999e7 (patch)
treeaeaf8dffa7ed21b0abdbf6e82d49db2bf7bf67a8 /ace/Containers_T.i
parent6a68877db14f8179752e1b6585d3030295deee6b (diff)
downloadATCD-51938d8266ebf28802274a87502a383072e999e7.tar.gz
(ACE_Bounded_Set::is_full): On LynxOS only, uninlined this function to avoid Internal Compiler Error with native (3.0.0) compiler
Diffstat (limited to 'ace/Containers_T.i')
-rw-r--r--ace/Containers_T.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/Containers_T.i b/ace/Containers_T.i
index a5bba39bafc..50ec3667388 100644
--- a/ace/Containers_T.i
+++ b/ace/Containers_T.i
@@ -219,12 +219,15 @@ ACE_Bounded_Set<T>::is_empty (void) const
return this->cur_size_ == 0;
}
+#if !defined (__Lynx__)
+ // LynxOS 3.0.0 native g++ compiler raises internal error with this inline.
template <class T> ACE_INLINE int
ACE_Bounded_Set<T>::is_full (void) const
{
ACE_TRACE ("ACE_Bounded_Set<T>::is_full");
return this->cur_size_ == this->max_size_;
}
+#endif /* ! __Lynx__ */
// --