summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-25 12:41:38 -0400
committerGitHub <noreply@github.com>2025-03-25 12:41:38 -0400
commit7ad79d8430ee22b0180e7077fe727153333e47f6 (patch)
tree8d2d9df8054214d4c019ace03e33f74e6ba571d0 /inc
parent877aa98855fad77ef93a8c9f5a5e8191fbb9e699 (diff)
parent895b5ddd6fe4db906720ecbf0de0cab5acdb35ec (diff)
Merge pull request #33 from bdunahu/dev-sid
Initial GUI Commit
Diffstat (limited to 'inc')
-rw-r--r--inc/cache.h1
-rw-r--r--inc/dram.h1
-rw-r--r--inc/logger.h10
3 files changed, 4 insertions, 8 deletions
diff --git a/inc/cache.h b/inc/cache.h
index ef9c9e4..88fd352 100644
--- a/inc/cache.h
+++ b/inc/cache.h
@@ -4,6 +4,7 @@
#include "storage.h"
#include <array>
#include <ostream>
+#include <functional>
class Cache : public Storage
{
diff --git a/inc/dram.h b/inc/dram.h
index f4d175e..0799015 100644
--- a/inc/dram.h
+++ b/inc/dram.h
@@ -3,6 +3,7 @@
#include "definitions.h"
#include "storage.h"
#include <ostream>
+#include <functional>
class Dram : public Storage
{
diff --git a/inc/logger.h b/inc/logger.h
index 38527c8..88f9e30 100644
--- a/inc/logger.h
+++ b/inc/logger.h
@@ -11,7 +11,7 @@ class Logger
public:
static Logger* getInstance();
- ~Logger();
+ ~Logger() = default;
/**
* Do not allow copies.
@@ -32,15 +32,9 @@ class Logger
void log(LogLevel, const string &);
private:
- /**
- * Constructor.
- * @param The file name to log to.
- * @return A new logger object.
- */
- Logger(const string &);
+ Logger() = default;
static Logger* logger_instance;
static LogLevel level;
- static ofstream logFile;
static string level_to_string(LogLevel);
static int level_to_int(LogLevel);
};