aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-09-03 08:02:30 +0200
committerPierre Ossman <ossman@cendio.se>2024-11-06 21:18:52 +0100
commit1093b1eb6f3e561fb80aafba65e3f1505ae80350 (patch)
treefa1e47598653cefc6ba8eb2794065383b92c8cdd /win
parente4c60ef1985164d1207352bbfdf57ae1d7838404 (diff)
downloadtigervnc-1093b1eb6f3e561fb80aafba65e3f1505ae80350.tar.gz
tigervnc-1093b1eb6f3e561fb80aafba65e3f1505ae80350.zip
Replace base exception class with standard library
There is no point to having our own generic exception class. Let's use the one provided by the standard C++ library.
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/Clipboard.cxx2
-rw-r--r--win/rfb_win32/DIBSectionBuffer.cxx2
-rw-r--r--win/rfb_win32/WMPoller.cxx3
3 files changed, 6 insertions, 1 deletions
diff --git a/win/rfb_win32/Clipboard.cxx b/win/rfb_win32/Clipboard.cxx
index 5bda26b2..72e8999e 100644
--- a/win/rfb_win32/Clipboard.cxx
+++ b/win/rfb_win32/Clipboard.cxx
@@ -23,6 +23,8 @@
#include <config.h>
#endif
+#include <rdr/Exception.h>
+
#include <rfb_win32/Clipboard.h>
#include <rfb_win32/WMShatter.h>
#include <rfb/util.h>
diff --git a/win/rfb_win32/DIBSectionBuffer.cxx b/win/rfb_win32/DIBSectionBuffer.cxx
index 62b917c0..f6447b0d 100644
--- a/win/rfb_win32/DIBSectionBuffer.cxx
+++ b/win/rfb_win32/DIBSectionBuffer.cxx
@@ -21,6 +21,8 @@
#include <config.h>
#endif
+#include <rdr/Exception.h>
+
#include <rfb_win32/DIBSectionBuffer.h>
#include <rfb_win32/DeviceContext.h>
#include <rfb_win32/BitmapInfo.h>
diff --git a/win/rfb_win32/WMPoller.cxx b/win/rfb_win32/WMPoller.cxx
index 2c5917e9..db267269 100644
--- a/win/rfb_win32/WMPoller.cxx
+++ b/win/rfb_win32/WMPoller.cxx
@@ -22,8 +22,9 @@
#include <config.h>
#endif
+#include <rdr/Exception.h>
+
#include <rfb_win32/WMPoller.h>
-#include <rfb/Exception.h>
#include <rfb/LogWriter.h>
#include <rfb/Configuration.h>