aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/IntervalTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/IntervalTimer.h')
-rw-r--r--win/rfb_win32/IntervalTimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/IntervalTimer.h b/win/rfb_win32/IntervalTimer.h
index 89cd9312..5ced2c5e 100644
--- a/win/rfb_win32/IntervalTimer.h
+++ b/win/rfb_win32/IntervalTimer.h
@@ -41,7 +41,7 @@ namespace rfb {
if (!active || interval_ != interval) {
interval = interval_;
if (!SetTimer(hwnd, id, interval, nullptr))
- throw rdr::SystemException("SetTimer", GetLastError());
+ throw rdr::Win32Exception("SetTimer", GetLastError());
active = true;
}
}