diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-03-29 13:31:14 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-03-29 13:31:14 +0000 |
commit | 2b51c2d2a265957abf6b2aee9901f9bd51d07ba6 (patch) | |
tree | 12454f394ad1a5cc2dac735f5e41fff9c95aa079 /lib/server | |
parent | 6dfad614ea4e401ae190a852de5dd02bec204963 (diff) |
Hopefully fix compile error reported by Mirko on cross-compiler.
Diffstat (limited to 'lib/server')
-rw-r--r-- | lib/server/Daemon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp index 00aff58e..d868774f 100644 --- a/lib/server/Daemon.cpp +++ b/lib/server/Daemon.cpp @@ -689,10 +689,10 @@ int Daemon::Main(const std::string &rConfigFileName) BOX_NOTICE("Reloading configuration file: " << mConfigFileName); std::string errors; - std::auto_ptr<Configuration> pconfig = + std::auto_ptr<Configuration> pconfig( Configuration::LoadAndVerify( mConfigFileName.c_str(), - GetConfigVerify(), errors); + GetConfigVerify(), errors)); // Got errors? if(pconfig.get() == 0 || !errors.empty()) |