aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-09-18 16:07:12 +0200
committerPierre Ossman <ossman@cendio.se>2017-09-18 16:07:12 +0200
commit87b9d5fec98b38fea61710c8b4ca379bb06f39f3 (patch)
treec6e261374e48bcc556ccce15ebbb4f8f0424d388 /vncviewer
parent7e546febadb6e6cc66138c2316c8c19ca8aab2b1 (diff)
downloadtigervnc-87b9d5fec98b38fea61710c8b4ca379bb06f39f3.tar.gz
tigervnc-87b9d5fec98b38fea61710c8b4ca379bb06f39f3.zip
Be explicit which Exception class we want
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/Viewport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx
index 331efbc7..31d09a1e 100644
--- a/vncviewer/Viewport.cxx
+++ b/vncviewer/Viewport.cxx
@@ -123,11 +123,11 @@ Viewport::Viewport(int w, int h, const rfb::PixelFormat& serverPF, CConn* cc_)
xkb = XkbGetMap(fl_display, 0, XkbUseCoreKbd);
if (!xkb)
- throw Exception("XkbGetMap");
+ throw rfb::Exception("XkbGetMap");
status = XkbGetNames(fl_display, XkbKeyNamesMask, xkb);
if (status != Success)
- throw Exception("XkbGetNames");
+ throw rfb::Exception("XkbGetNames");
memset(code_map_keycode_to_qnum, 0, sizeof(code_map_keycode_to_qnum));
for (KeyCode keycode = xkb->min_key_code;