Fix bug in debug manager.

This commit is contained in:
Lukas Steiner
2021-08-24 10:33:13 +02:00
parent 6857e37ff0
commit 76068da0e7

View File

@@ -51,6 +51,7 @@
#define PRINTDEBUGMESSAGE(sender, message) DebugManager::getInstance().printDebugMessage(sender, message)
#include <string>
#include <fstream>
class DebugManager
{
@@ -71,7 +72,7 @@ public:
bool writeToConsole;
bool writeToFile;
void printDebugMessage(const std::string &sender, const std::string &message) const;
void printDebugMessage(const std::string &sender, const std::string &message);
static void printMessage(const std::string &sender, const std::string &message);
void openDebugFile(const std::string &filename);