diff options
Diffstat (limited to 'TAO/orbsvcs/examples/FaultTolerance/FLARe/HMOptions.cpp')
-rw-r--r-- | TAO/orbsvcs/examples/FaultTolerance/FLARe/HMOptions.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/TAO/orbsvcs/examples/FaultTolerance/FLARe/HMOptions.cpp b/TAO/orbsvcs/examples/FaultTolerance/FLARe/HMOptions.cpp index f7c7cd42eda..b053c58e6b3 100644 --- a/TAO/orbsvcs/examples/FaultTolerance/FLARe/HMOptions.cpp +++ b/TAO/orbsvcs/examples/FaultTolerance/FLARe/HMOptions.cpp @@ -1,10 +1,9 @@ -#include <unistd.h> -#include <stdlib.h> -#include <iostream> -#include <sstream> -#include <algorithm> #include "HMOptions.h" + +#include <sstream> + #include "ArgPair.h" + #include "ace/Global_Macros.h" #include "ace/Guard_T.h" #include "ace/Log_Msg.h" @@ -12,10 +11,9 @@ /// Initialize the static data member. HMOptions * volatile HMOptions::instance_ = 0; -std::auto_ptr <HMOptions> HMOptions::deleter_; +ACE_Auto_Ptr<HMOptions> HMOptions::deleter_; ACE_Thread_Mutex HMOptions::lock_; - HMOptions::HMOptions (void) : RM_ior_ ("file://rm.ior"), arg_pair_ (0,0), |