From 87b9d5fec98b38fea61710c8b4ca379bb06f39f3 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 18 Sep 2017 16:07:12 +0200 Subject: [PATCH] Be explicit which Exception class we want --- vncviewer/Viewport.cxx | 4 ++-- 1 file 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; -- 2.39.5