diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-25 12:41:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-25 12:41:38 -0400 |
commit | 9476d1355493cdab93064ec123ac13bfb78e8ed3 (patch) | |
tree | a99c2895027f22c4dbb4191fb132db36700bd0bf /inc | |
parent | fab7d9dcf249762eeac89a11487856e7569c66d5 (diff) | |
parent | 46c79e6e929ab784eb12417028dd43740b1a561e (diff) |
Merge pull request #33 from bdunahu/dev-sid
Initial GUI Commit
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cache.h | 1 | ||||
-rw-r--r-- | inc/dram.h | 1 | ||||
-rw-r--r-- | inc/logger.h | 10 |
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 { @@ -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); }; |