mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-01 01:38:05 +00:00
Fixing a warning when debuggers are disabled
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user