First set of C++17/14 changes to the core library

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2018-10-27 17:30:23 +01:00
parent 8dbb3eafec
commit 62f3cd717b
14 changed files with 99 additions and 99 deletions

View File

@@ -10,9 +10,9 @@
uint8_t EightBit::Bus::read() {
ReadingByte.fire(EventArgs::empty());
DATA() = reference();
const auto returned = DATA() = reference();
ReadByte.fire(EventArgs::empty());
return DATA();
return returned;
}
void EightBit::Bus::write() {