Fixing a warning when debuggers are disabled

This commit is contained in:
Zoe Roux
2021-02-04 14:25:48 +01:00
parent caa547b80e
commit ecc611748c
+2
View File
@@ -40,6 +40,8 @@ namespace ComSquare
#ifdef DEBUGGER_ENABLED
auto cpuDebug = std::static_pointer_cast<Debugger::CPUDebug>(this->cpu);
cpuDebug->showError(exception);
#else
(void)exception;
#endif
}