diff options
author | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
commit | 26b5e033ffde3d161382fc9addbfa99738379641 (patch) | |
tree | a344f369ca32945f787a02dee35c3dbe342bed7e /dep/ACE_wrappers/ace/Dynamic.h | |
parent | f21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff) |
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
Diffstat (limited to 'dep/ACE_wrappers/ace/Dynamic.h')
-rw-r--r-- | dep/ACE_wrappers/ace/Dynamic.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/dep/ACE_wrappers/ace/Dynamic.h b/dep/ACE_wrappers/ace/Dynamic.h index 6906ebf1267..48b10b87eaa 100644 --- a/dep/ACE_wrappers/ace/Dynamic.h +++ b/dep/ACE_wrappers/ace/Dynamic.h @@ -1,5 +1,4 @@ // -*- C++ -*- - //========================================================================== /** * @file Dynamic.h @@ -10,19 +9,14 @@ * @author Irfan Pyarali. */ //========================================================================== - #ifndef ACE_DYNAMIC_H #define ACE_DYNAMIC_H #include /**/ "ace/pre.h" - #include /**/ "ace/ACE_export.h" - #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ - ACE_BEGIN_VERSIONED_NAMESPACE_DECL - /** * @class ACE_Dynamic * @@ -37,25 +31,19 @@ public: // = Initialization and termination method. /// Constructor. ACE_Dynamic (void); - /// Destructor. ~ACE_Dynamic (void); - /** * Sets a flag that indicates that the object was dynamically * created. This method is usually called in operator new and then * checked and reset in the constructor. */ void set (void); - /// @c true if we were allocated dynamically, else @c false. bool is_dynamic (void); - /// Resets state flag. void reset (void); - static ACE_Dynamic *instance (void); - private: /** * Flag that indicates that the object was dynamically created. This @@ -64,13 +52,10 @@ private: */ bool is_dynamic_; }; - ACE_END_VERSIONED_NAMESPACE_DECL - #if defined (__ACE_INLINE__) #include "ace/Dynamic.inl" #endif /* __ACE_INLINE__ */ - #include /**/ "ace/post.h" #endif /* ACE_DYNAMIC_H */ |