diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-27 12:32:02 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-02-04 14:03:13 +0100 |
commit | 03a2057e9eee33eb95a11e1c2a874aec75d30307 (patch) | |
tree | 6536e583c079c6c4aa9426486ee958483a4a84a3 | |
parent | 5db843ead6cbf683c2888da377d5d0e0d0d30833 (diff) | |
download | tigervnc-03a2057e9eee33eb95a11e1c2a874aec75d30307.tar.gz tigervnc-03a2057e9eee33eb95a11e1c2a874aec75d30307.zip |
Remove unneeded header from SDesktop.h
It doesn't use any exceptions, so stop including the header for it.
-rw-r--r-- | common/rfb/SDesktop.h | 3 | ||||
-rw-r--r-- | common/rfb/VNCSConnectionST.cxx | 1 | ||||
-rw-r--r-- | common/rfb/VNCServerST.cxx | 1 | ||||
-rw-r--r-- | unix/x0vncserver/XDesktop.cxx | 1 |
4 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/SDesktop.h b/common/rfb/SDesktop.h index 175609fc..9db08116 100644 --- a/common/rfb/SDesktop.h +++ b/common/rfb/SDesktop.h @@ -41,15 +41,12 @@ #include <rfb/PixelBuffer.h> #include <rfb/VNCServer.h> #include <rfb/InputHandler.h> -#include <rfb/Exception.h> #include <rfb/screenTypes.h> namespace network { class Socket; } namespace rfb { - class VNCServer; - class SDesktop : public InputHandler { public: // start() is called by the server when the first client authenticates diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx index b5e5b583..0400d510 100644 --- a/common/rfb/VNCSConnectionST.cxx +++ b/common/rfb/VNCSConnectionST.cxx @@ -26,6 +26,7 @@ #include <rfb/ComparingUpdateTracker.h> #include <rfb/Encoder.h> +#include <rfb/Exception.h> #include <rfb/KeyRemapper.h> #include <rfb/LogWriter.h> #include <rfb/Security.h> diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx index 1122b0a7..ca32282e 100644 --- a/common/rfb/VNCServerST.cxx +++ b/common/rfb/VNCServerST.cxx @@ -56,6 +56,7 @@ #include <stdlib.h> #include <rfb/ComparingUpdateTracker.h> +#include <rfb/Exception.h> #include <rfb/KeyRemapper.h> #include <rfb/LogWriter.h> #include <rfb/Security.h> diff --git a/unix/x0vncserver/XDesktop.cxx b/unix/x0vncserver/XDesktop.cxx index 12169c76..9af7bb22 100644 --- a/unix/x0vncserver/XDesktop.cxx +++ b/unix/x0vncserver/XDesktop.cxx @@ -43,6 +43,7 @@ #endif #ifdef HAVE_XRANDR #include <X11/extensions/Xrandr.h> +#include <rfb/Exception.h> #include <RandrGlue.h> extern "C" { void vncSetGlueContext(Display *dpy, void *res); |