mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-10 19:52:07 +00:00
Couple of small C++ correctness changes
This commit is contained in:
parent
69a845e2f4
commit
617abbb450
@ -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:
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user