aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/LocalMem.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/LocalMem.h')
-rw-r--r--win/rfb_win32/LocalMem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/LocalMem.h b/win/rfb_win32/LocalMem.h
index 5280dea3..54ac896b 100644
--- a/win/rfb_win32/LocalMem.h
+++ b/win/rfb_win32/LocalMem.h
@@ -20,7 +20,7 @@
#define __RFB_WIN32_LOCALMEM_H__
#include <windows.h>
-#include <rdr/Exception.h>
+#include <core/Exception.h>
namespace rfb {
namespace win32 {
@@ -28,7 +28,7 @@ namespace rfb {
// Allocate and/or manage LocalAlloc memory.
struct LocalMem {
LocalMem(int size) : ptr(LocalAlloc(LMEM_FIXED, size)) {
- if (!ptr) throw rdr::win32_error("LocalAlloc", GetLastError());
+ if (!ptr) throw core::win32_error("LocalAlloc", GetLastError());
}
LocalMem(void* p) : ptr(p) {}
~LocalMem() {LocalFree(ptr);}