From 0313037d6f42e1906fe7c712d1040d0a965977cf Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Tue, 27 Nov 2018 22:19:15 +0000 Subject: [PATCH] Tidy the 8080 test configuration class a little. --- Intel8080/test/Configuration.cpp | 8 -------- Intel8080/test/Configuration.h | 9 ++++----- Intel8080/test/test_Intel8080.vcxproj | 1 - Intel8080/test/test_Intel8080.vcxproj.filters | 3 --- 4 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 Intel8080/test/Configuration.cpp diff --git a/Intel8080/test/Configuration.cpp b/Intel8080/test/Configuration.cpp deleted file mode 100644 index 77ae143..0000000 --- a/Intel8080/test/Configuration.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include "stdafx.h" -#include "Configuration.h" - -Configuration::Configuration() -: m_debugMode(false), - m_profileMode(false), - m_romDirectory("roms") { -} diff --git a/Intel8080/test/Configuration.h b/Intel8080/test/Configuration.h index 64a76ae..900f2f5 100644 --- a/Intel8080/test/Configuration.h +++ b/Intel8080/test/Configuration.h @@ -6,7 +6,7 @@ class Configuration { public: - Configuration(); + Configuration() = default; bool isDebugMode() const { return m_debugMode; @@ -33,8 +33,7 @@ public: } private: - bool m_debugMode; - bool m_profileMode; - - std::string m_romDirectory; + bool m_debugMode = false; + bool m_profileMode = false; + std::string m_romDirectory = "roms"; }; diff --git a/Intel8080/test/test_Intel8080.vcxproj b/Intel8080/test/test_Intel8080.vcxproj index 69cfc0c..bfcf226 100644 --- a/Intel8080/test/test_Intel8080.vcxproj +++ b/Intel8080/test/test_Intel8080.vcxproj @@ -150,7 +150,6 @@ - Create Create diff --git a/Intel8080/test/test_Intel8080.vcxproj.filters b/Intel8080/test/test_Intel8080.vcxproj.filters index d2c0cf0..3f06f17 100644 --- a/Intel8080/test/test_Intel8080.vcxproj.filters +++ b/Intel8080/test/test_Intel8080.vcxproj.filters @@ -28,9 +28,6 @@ Source Files - - Source Files - Source Files