aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/init.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-11 01:28:20 +0000
committerlloyd <[email protected]>2008-11-11 01:28:20 +0000
commit37955fb85460069cbef4dbe95222ed80d2b4152b (patch)
tree1425d78a8e2af80e3ed3df8aad684d24dd2537a4 /src/libstate/init.h
parente2d4cb5a9cd046453e79589d6c182bc23975ae4b (diff)
Add back default empty arguments to LibraryInitializer
Set default thread safety to false
Diffstat (limited to 'src/libstate/init.h')
-rw-r--r--src/libstate/init.h4
1 files changed, 2 insertions, 2 deletions
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(); }