Commit a4e248a5 authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Do not create unneeded journal file.

parent 0ffcbe81
......@@ -181,7 +181,11 @@ namespace hpp
JournalOutput::JournalOutput (std::string filename)
: filename (filename),
lastFunction (),
stream (makeLogFile (*this).c_str ())
#ifdef HPP_DEBUG
stream (makeLogFile (*this).c_str ())
#else
stream ()
#endif
{}
JournalOutput::~JournalOutput ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment