From 37955fb85460069cbef4dbe95222ed80d2b4152b Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 11 Nov 2008 01:28:20 +0000 Subject: Add back default empty arguments to LibraryInitializer Set default thread safety to false --- src/libstate/init.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstate/init.h') diff --git a/src/libstate/init.h b/src/libstate/init.h index affceb332..a20a392fe 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(const std::string& options); + static void initialize(const std::string& options = ""); static void deinitialize(); @@ -27,7 +27,7 @@ class BOTAN_DLL LibraryInitializer * Initialize the library * @param thread_safe if the library should use a thread-safe mutex */ - LibraryInitializer(const std::string& options) + LibraryInitializer(const std::string& options = "") { LibraryInitializer::initialize(options); } ~LibraryInitializer() { LibraryInitializer::deinitialize(); } -- cgit v1.2.3