More C++17 tidying up. Should be no user visible changes.

Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2021-01-06 15:30:26 +00:00
parent b4f8c81a94
commit 6261807344
6 changed files with 56 additions and 32 deletions
+3
View File
@@ -69,6 +69,9 @@
[[nodiscard]] PinLevel& name () noexcept { \
return m_## name ## _Line; \
} \
[[nodiscard]] const PinLevel& name () const noexcept { \
return m_## name ## _Line; \
} \
visibility : \
DECLARE_PIN_LEVEL_CHANGERS(name) \
private: \
+2 -1
View File
@@ -1,7 +1,6 @@
#pragma once
#include <cassert>
#include <bitset>
#ifdef _MSC_VER
# include <intrin.h>
@@ -9,6 +8,8 @@
#ifdef __GNUG__
# include <x86intrin.h>
#else
# include <bitset>
#endif
namespace EightBit {
-1
View File
@@ -1,7 +1,6 @@
#pragma once
#include <cstdint>
#include <array>
#include "Memory.h"
#include "Ram.h"
+4 -4
View File
@@ -1,14 +1,14 @@
#pragma once
#include <cstdint>
//#include <fstream>
#include <fstream>
#include <string>
//#include <ios>
//#include <sstream>
#include <ios>
#include <sstream>
#include <map>
#include <optional>
#include <vector>
//#include <utility>
#include <utility>
namespace EightBit {
class IntelHexFile final {