From 3b9d9cde306f27b7c59294b2daeed60a62618949 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 17 May 2012 14:16:09 +1000 Subject: [PATCH] Correct exception namespacing for Windows header --- except.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/except.hpp b/except.hpp index 2a9744d4..0a9849c0 100644 --- a/except.hpp +++ b/except.hpp @@ -25,7 +25,6 @@ #include - namespace util { class input_error : public std::runtime_error { public: @@ -64,11 +63,12 @@ namespace util { static void throw_code (void); static void throw_code (int code); }; - +} #if defined(PLATFORM_WIN32) #include +namespace util { class win32_error : public std::runtime_error { public: DWORD id; @@ -79,7 +79,7 @@ namespace util { static void try_code (void); static void throw_code (void); }; -#endif } +#endif #endif