diff options
author | lloyd <[email protected]> | 2008-11-11 01:01:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-11 01:01:38 +0000 |
commit | 88f4327ef993dfc15f1483e14df042a83bb459b7 (patch) | |
tree | 98782cb2f6af3a7fb7c864552c93ecae16ddcaf1 /src/libstate/init.h | |
parent | 5e340b886319bb21f269520af2d62789df3467d4 (diff) |
Change LibraryInitializer back to accepting a std::string for backwards
compatability.
Diffstat (limited to 'src/libstate/init.h')
-rw-r--r-- | src/libstate/init.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstate/init.h b/src/libstate/init.h index 794fbd39e..affceb332 100644 --- a/src/libstate/init.h +++ b/src/libstate/init.h @@ -19,7 +19,7 @@ namespace Botan { class BOTAN_DLL LibraryInitializer { public: - static void initialize(bool thread_safe); + static void initialize(const std::string& options); static void deinitialize(); @@ -27,8 +27,8 @@ class BOTAN_DLL LibraryInitializer * Initialize the library * @param thread_safe if the library should use a thread-safe mutex */ - LibraryInitializer(bool thread_safe = false) - { LibraryInitializer::initialize(thread_safe); } + LibraryInitializer(const std::string& options) + { LibraryInitializer::initialize(options); } ~LibraryInitializer() { LibraryInitializer::deinitialize(); } }; |