Tidy up some C++ a little

Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon committed 2021-04-07 21:36:09 +01:00
1 parent 79adce86bd
commit 2fa9ffd1e3
10 files changed
+150 -131

No files matched your search

+1 -1
View File
@@ -726,7 +726,7 @@ void EightBit::Disassembler::disassembleOther(
}
}
std::string EightBit::Disassembler::flag(uint8_t value, int flag, const std::string& represents) {
std::string EightBit::Disassembler::flag(uint8_t value, int flag, const std::string represents) {
std::ostringstream output;
output << (value & flag ? represents : "-");
return output.str();