diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-03-27 01:03:07 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-03-27 01:03:07 +0000 |
commit | e5520a05eaf7d4970590e76a454f27210b6ca9f2 (patch) | |
tree | 05ec308a451c8a389a83447ab76e516fa5af2994 /lib/server/Daemon.cpp | |
parent | 82e827c498a4e85c0fca92816baea0a97f68390a (diff) |
Pass a C++ string instead of a char pointer for efficiency.
Diffstat (limited to 'lib/server/Daemon.cpp')
-rw-r--r-- | lib/server/Daemon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp index 22239bd9..528f9e57 100644 --- a/lib/server/Daemon.cpp +++ b/lib/server/Daemon.cpp @@ -407,7 +407,7 @@ bool Daemon::Configure(const std::string& rConfigFileName) try { - if (!FileExists(rConfigFileName.c_str())) + if (!FileExists(rConfigFileName)) { BOX_FATAL("The main configuration file for " << DaemonName() << " was not found: " << |