diff --git a/DRAMSys/library/src/common/DebugManager.cpp b/DRAMSys/library/src/common/DebugManager.cpp index 2f13a593..807225c7 100644 --- a/DRAMSys/library/src/common/DebugManager.cpp +++ b/DRAMSys/library/src/common/DebugManager.cpp @@ -42,7 +42,7 @@ using namespace sc_core; -void DebugManager::printDebugMessage(const std::string &sender, const std::string &message) const +void DebugManager::printDebugMessage(const std::string &sender, const std::string &message) { if (Configuration::getInstance().debug) { @@ -50,7 +50,7 @@ void DebugManager::printDebugMessage(const std::string &sender, const std::strin std::cout << " at " << sc_time_stamp() << "\t in " << sender << "\t: " << message << std::endl; if (writeToFile && debugFile) - debugFile << " at " << sc_time_stamp() << " in " << sender << "\t: " << message << "\n"; + debugFile << " at " << sc_time_stamp() << "\t in " << sender << "\t: " << message << std::endl; } }