aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/DeviceFrameBuffer.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-09-03 07:31:15 +0200
committerPierre Ossman <ossman@cendio.se>2024-11-06 21:06:27 +0100
commit9e9083cbedc0e98a03a0da370dd49375dc1cdc91 (patch)
tree3b094052cd0d4941e8a554ad3b04ec19c0d3f0c3 /win/rfb_win32/DeviceFrameBuffer.cxx
parentf25de739ea359c2843a596457bcd22a28175b7a4 (diff)
downloadtigervnc-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/rfb_win32/DeviceFrameBuffer.cxx')
-rw-r--r--win/rfb_win32/DeviceFrameBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/DeviceFrameBuffer.cxx b/win/rfb_win32/DeviceFrameBuffer.cxx
index 2cf8adae..752aeb4c 100644
--- a/win/rfb_win32/DeviceFrameBuffer.cxx
+++ b/win/rfb_win32/DeviceFrameBuffer.cxx
@@ -308,7 +308,7 @@ void DeviceFrameBuffer::setCursor(HCURSOR hCursor, VNCServer* server)
server->setCursor(width, height, hotspot, buffer.data());
- } catch (rdr::Exception& e) {
+ } catch (std::exception& e) {
vlog.error("%s", e.what());
}
}