diff options
-rw-r--r-- | src/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.cpp b/src/options.cpp index 4a50839..c150d65 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -486,7 +486,7 @@ bool Options::parse(int argc, char* argv[]) #endif #else #ifdef WIN_SERVICE - log_targets_.push_back("eventlog:3,".append(progname_)); + log_targets_.push_back(std::string("eventlog:3,").append(progname_)); #else log_targets_.push_back("stdout:3"); #endif |