mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-04-19 19:16:38 +00:00
Couple of small C++ correctness changes
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ namespace EightBit {
|
||||
[[nodiscard]] static constexpr auto promoteNibble(const int value) noexcept { return value << 4; }
|
||||
[[nodiscard]] static constexpr auto demoteNibble(const int value) noexcept { return highNibble(value); }
|
||||
|
||||
Chip(const Chip& rhs)
|
||||
Chip(const Chip& rhs) noexcept
|
||||
: Device(rhs) {}
|
||||
|
||||
protected:
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ namespace EightBit {
|
||||
m_delegates.push_back(functor);
|
||||
}
|
||||
|
||||
void fire(T& e = EventArgs::empty()) const noexcept {
|
||||
void fire(T& e = EventArgs::empty()) const {
|
||||
for (auto& delegate : m_delegates)
|
||||
delegate(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user