Tidy up some C++ a little

Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2021-04-07 21:36:09 +01:00
parent 79adce86bd
commit 2fa9ffd1e3
10 changed files with 150 additions and 131 deletions

View File

@@ -103,7 +103,7 @@ namespace EightBit {
virtual ~Device() = default;
[[nodiscard]] bool powered() noexcept { return raised(POWER()); }
[[nodiscard]] bool powered() const noexcept { return raised(POWER()); }
DECLARE_PIN_INPUT(POWER)