diff options
Diffstat (limited to 'ace/Dynamic.h')
-rw-r--r-- | ace/Dynamic.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ace/Dynamic.h b/ace/Dynamic.h index 3c9f9aced43..d6c3ab9466b 100644 --- a/ace/Dynamic.h +++ b/ace/Dynamic.h @@ -21,8 +21,6 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - /** * @class ACE_Dynamic * @@ -48,8 +46,8 @@ public: */ void set (void); - /// @c true if we were allocated dynamically, else @c false. - bool is_dynamic (void); + /// 1 if we were allocated dynamically, else 0. + int is_dynamic (void); /// Resets state flag. void reset (void); @@ -62,11 +60,9 @@ private: * method is usually called in operator new and then checked and * reset in the constructor. */ - bool is_dynamic_; + int is_dynamic_; }; -ACE_END_VERSIONED_NAMESPACE_DECL - #if defined (__ACE_INLINE__) #include "ace/Dynamic.inl" #endif /* __ACE_INLINE__ */ |