]> source.dussan.org Git - tigervnc.git/commitdiff
Be explicit which Exception class we want
authorPierre Ossman <ossman@cendio.se>
Mon, 18 Sep 2017 14:07:12 +0000 (16:07 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 18 Sep 2017 14:07:12 +0000 (16:07 +0200)
vncviewer/Viewport.cxx

index 331efbc7b0af4697c0a3b31dee35a62a1340c3d0..31d09a1e4521b40fc9b488f699e45174fc601a21 100644 (file)
@@ -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;