diff --git a/src/cpp/multisolver_interface/SolverXpress.cpp b/src/cpp/multisolver_interface/SolverXpress.cpp index 367b1ee83..427970ab3 100644 --- a/src/cpp/multisolver_interface/SolverXpress.cpp +++ b/src/cpp/multisolver_interface/SolverXpress.cpp @@ -15,9 +15,9 @@ std::mutex SolverXpress::license_guard; const std::map TYPETONAME = {{1, "rows"}, {2, "columns"}}; SolverXpress::SolverXpress(SolverLogManager &log_manager) : SolverXpress() { - if (solverLogManager_.log_file_path != "") { + if (solverLogManager.log_file_path != "") { _log_stream.open(_log_file, std::ofstream::out | std::ofstream::app); - _log_file = solverLogManager_->log_file_path; + _log_file = solverLogManager->log_file_path; add_stream(_log_stream); } }