diff options
author | lloyd <[email protected]> | 2009-04-01 16:42:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-04-01 16:42:38 +0000 |
commit | 3afb86663583b982e1eab8f46d07fc3d51260602 (patch) | |
tree | 3cdf7950fb61f96d8d8b9d37dc71f68dba5f1bbc /src/cert/cvc/freestore.h | |
parent | 327115405b0f483c2b432e2233f355a349b1f9d7 (diff) |
Use C++0x std::shared_ptr<> instead of TR1's
Diffstat (limited to 'src/cert/cvc/freestore.h')
-rw-r--r-- | src/cert/cvc/freestore.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/cert/cvc/freestore.h b/src/cert/cvc/freestore.h index f95afa802..a6f779c78 100644 --- a/src/cert/cvc/freestore.h +++ b/src/cert/cvc/freestore.h @@ -7,14 +7,7 @@ #define BOTAN_FREESTORE_H__ #include <botan/build.h> - -#if defined(BOTAN_USE_STD_TR1) - #include <tr1/memory> -#elif defined(BOTAN_USE_BOOST_TR1) - #include <boost/tr1/memory.hpp> -#else - #error "Please choose a TR1 implementation in build.h" -#endif +#include <memory> namespace Botan { @@ -30,7 +23,7 @@ template<typename T> class BOTAN_DLL SharedPtrConverter { public: - typedef std::tr1::shared_ptr<T> SharedPtr; + typedef std::shared_ptr<T> SharedPtr; /** * Construct a null pointer equivalent object. |