From d8482e3bbd03ed9d42e78b964de58eaa3e9cee59 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 13 Jun 2023 09:37:04 +0200 Subject: [PATCH] Remove unneeded "using namespace" The need for these must have got lost somewhere in the type cleanup. --- unix/x0vncserver/XDesktop.cxx | 1 - vncviewer/CConn.cxx | 2 -- vncviewer/OptionsDialog.cxx | 1 - vncviewer/Viewport.cxx | 1 - vncviewer/vncviewer.cxx | 1 - 5 files changed, 6 deletions(-) diff --git a/unix/x0vncserver/XDesktop.cxx b/unix/x0vncserver/XDesktop.cxx index bd13450b..e562c6ff 100644 --- a/unix/x0vncserver/XDesktop.cxx +++ b/unix/x0vncserver/XDesktop.cxx @@ -52,7 +52,6 @@ void vncSetGlueContext(Display *dpy, void *res); #include #include -using namespace std; using namespace rfb; extern const unsigned short code_map_qnum_to_xorgevdev[]; diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index 780214f2..a2876baa 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -55,9 +55,7 @@ #include "win32.h" #endif -using namespace rdr; using namespace rfb; -using namespace std; static rfb::LogWriter vlog("CConn"); diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index 027f5706..3c293fac 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -54,7 +54,6 @@ #include using namespace std; -using namespace rdr; using namespace rfb; std::map OptionsDialog::callbacks; diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index c501764a..67ce94a6 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -100,7 +100,6 @@ extern const unsigned int code_map_osx_to_qnum_len; using namespace rfb; -using namespace rdr; static rfb::LogWriter vlog("Viewport"); diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 9db94ffd..b65f0852 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -84,7 +84,6 @@ static rfb::LogWriter vlog("main"); using namespace network; using namespace rfb; -using namespace std; char vncServerName[VNCSERVERNAMELEN] = { '\0' }; -- 2.39.5