Commit 8288f5b0 authored by Niklas Eiling's avatar Niklas Eiling
Browse files

make Solver constructor initialize mSLog in initializer list


Signed-off-by: Niklas Eiling's avatarNiklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
parent 39dbecd9
......@@ -58,8 +58,8 @@ namespace DPsim {
Solver(String name, CPS::Logger::Level logLevel) :
mName(name),
mLogLevel(logLevel) {
mSLog = CPS::Logger::get(name + "_Solver", logLevel, CPS::Logger::Level::warn);
mLogLevel(logLevel),
mSLog(CPS::Logger::get(name + "_Solver", logLevel, CPS::Logger::Level::warn)) {
}
virtual ~Solver() { }
......
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