mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-10-22 07:02:37 +00:00
Correct noexcept specification
This commit is contained in:
1 parent
7add835554
commit
27b45916bc
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user