diff options
author | lloyd <[email protected]> | 2006-07-02 14:22:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-07-02 14:22:18 +0000 |
commit | c36e79af0a4df9f71189918040545146ebac365e (patch) | |
tree | 54513934743a4574d47ea4c65de2373b0e71f9b9 /src/init_def.cpp | |
parent | 9fc2248a9689dcb1bc43157e4955347c6fd9c996 (diff) |
Move InitializerOptions out of the Init namespace
Alter the initialization functions to take an InitializerOptions object
instead of a std::string
Diffstat (limited to 'src/init_def.cpp')
-rw-r--r-- | src/init_def.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/init_def.cpp b/src/init_def.cpp index efb23d439..13687116f 100644 --- a/src/init_def.cpp +++ b/src/init_def.cpp @@ -17,9 +17,9 @@ namespace Botan { /************************************************* * Library Initialization * *************************************************/ -LibraryInitializer::LibraryInitializer(const std::string& arg_string) +LibraryInitializer::LibraryInitializer(const InitializerOptions& args) { - Init::initialize(arg_string); + Init::initialize(args); } /************************************************* @@ -35,9 +35,8 @@ namespace Init { /************************************************* * Library Initialization * *************************************************/ -void initialize(const std::string& arg_string) +void initialize(const InitializerOptions& args) { - InitializerOptions args(arg_string); Builtin_Modules modules(false); Mutex_Factory* mutex_factory = 0; |