Correct noexcept specification

This commit is contained in:
Adrian Conlon committed 2026-06-02 20:45:08 +01:00
1 parent 7add835554
commit 27b45916bc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ namespace EightBit {
void getShortPaged(register16_t address) noexcept;
void getShortPaged(uint8_t page, uint8_t offset) noexcept;
void getPagedInto(uint8_t page, uint8_t offset, register16_t& into);
void getPagedInto(uint8_t page, uint8_t offset, register16_t& into) noexcept;
void getShortPaged() noexcept { getPagedInto(m_intermediate); }
virtual void getPagedInto(register16_t& into) noexcept = 0;
void setPaged(register16_t address, register16_t value) noexcept;
+1 -1
View File
@@ -72,7 +72,7 @@ void EightBit::Processor::getShortPaged(const uint8_t page, const uint8_t offset
getShortPaged();
}
void EightBit::Processor::getPagedInto(uint8_t page, uint8_t offset, register16_t& into) {
void EightBit::Processor::getPagedInto(uint8_t page, uint8_t offset, register16_t& into) noexcept {
BUS().ADDRESS() = { offset, page };
getPagedInto(into);
}