Fix: Compile error with Ghost X11 off and Wayland on

‘const’ qualifiers cannot be applied to ‘const std::runtime_error&’
This commit is contained in:
Hans Goudey 2023-08-28 16:15:21 -04:00
parent ee7e187b7f
commit eafe8332c7
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ GHOST_TSuccess GHOST_ISystem::createSystem(bool verbose, [[maybe_unused]] bool b
try {
m_system = new GHOST_SystemWayland(background);
}
catch (const std::runtime_error &const e) {
catch (const std::runtime_error &e) {
if (verbose) {
fprintf(stderr, "GHOST: %s\n", e.what());
}