From: Eduardo Ramos Testillano Date: Mon, 27 Nov 2017 03:19:59 +0000 (+0100) Subject: Fix compilation error X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=013c02561fcca655fc924d4c89f630fc5171d060;p=anna.git Fix compilation error --- diff --git a/example/diameter/launcher/main.cpp b/example/diameter/launcher/main.cpp index 599e4fe..4f11ee2 100644 --- a/example/diameter/launcher/main.cpp +++ b/example/diameter/launcher/main.cpp @@ -32,7 +32,7 @@ int main(int argc, const char** argv) { std::string cwd = exe.substr(0, exe.find_last_of("/")); std::string trace_file = cwd + "/launcher.trace"; - anna::Logger::initialize("launcher", new TraceWriter(trace_file, 2048000)); + anna::Logger::initialize("launcher", new TraceWriter(trace_file.c_str(), 2048000)); anna::time::functions::initialize(); // before application instantiation (it have a anna::time object) anna::time::functions::setControlPoint(); // start control point (application lifetime) Launcher app;