diff --git a/config.cc b/config.cc index 958d8d8..d29195c 100644 --- a/config.cc +++ b/config.cc @@ -151,6 +151,13 @@ Config::Config(): __CLASS ); } +Config::Config( const Config & configIn ) +{ + *this = configIn; + cleanup_storable = false; + cleanup_keywords = false; +} + Config::Config( ConfigInfo * configInfo ): cleanup_storable( false ) { diff --git a/config.hh b/config.hh index 1408e6e..871501d 100644 --- a/config.hh +++ b/config.hh @@ -78,6 +78,7 @@ public: OpCodes parseToken( const char *, const OptionType ); bool parseOrValidate( const string &, const OptionType, bool validate = false ); + Config( const Config & ); Config( const Config &, ConfigInfo * ); Config( ConfigInfo * ); Config();