diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-09-03 07:31:15 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-06 21:06:27 +0100 |
commit | 9e9083cbedc0e98a03a0da370dd49375dc1cdc91 (patch) | |
tree | 3b094052cd0d4941e8a554ad3b04ec19c0d3f0c3 /win/vncconfig/vncconfig.cxx | |
parent | f25de739ea359c2843a596457bcd22a28175b7a4 (diff) | |
download | tigervnc-9e9083cbedc0e98a03a0da370dd49375dc1cdc91.tar.gz tigervnc-9e9083cbedc0e98a03a0da370dd49375dc1cdc91.zip |
Subclass exceptions from std::exception
Make sure our exceptions are part of the standard exception class
hierarchy.
Diffstat (limited to 'win/vncconfig/vncconfig.cxx')
-rw-r--r-- | win/vncconfig/vncconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncconfig/vncconfig.cxx b/win/vncconfig/vncconfig.cxx index bfe4e640..de3a4620 100644 --- a/win/vncconfig/vncconfig.cxx +++ b/win/vncconfig/vncconfig.cxx @@ -179,7 +179,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE /*prev*/, char* /*cmdLine*/, int /* throw; } - } catch (rdr::Exception& e) { + } catch (std::exception& e) { MsgBox(nullptr, e.what(), MB_ICONEXCLAMATION | MB_OK); return 1; } |