summaryrefslogtreecommitdiff
path: root/cpp/src/tests/windows/DisableWin32ErrorWindows.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-03-20 16:39:03 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-03-20 16:39:03 +0000
commit47f6c20c51d17d98f04076ced64c2291af125439 (patch)
tree702d605b820a51cd363cee901bd120f2d5da0c15 /cpp/src/tests/windows/DisableWin32ErrorWindows.cpp
parentd30bd25ceec3ccd2e6d89fb173cc0966ba4dbdf7 (diff)
downloadqpid-python-47f6c20c51d17d98f04076ced64c2291af125439.tar.gz
QPID-2082: Put all of the C++ code in the source tree into a namespace
- This change moves the remaining non-example code in a namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1302988 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/windows/DisableWin32ErrorWindows.cpp')
-rw-r--r--cpp/src/tests/windows/DisableWin32ErrorWindows.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/tests/windows/DisableWin32ErrorWindows.cpp b/cpp/src/tests/windows/DisableWin32ErrorWindows.cpp
index 024f20b147..14f1e46606 100644
--- a/cpp/src/tests/windows/DisableWin32ErrorWindows.cpp
+++ b/cpp/src/tests/windows/DisableWin32ErrorWindows.cpp
@@ -32,7 +32,9 @@
#include <windows.h>
#include <iostream>
-namespace {
+namespace qpid {
+namespace tests {
+namespace windows {
// Instead of popping up a window for exceptions, just print something out
LONG _stdcall UnhandledExceptionFilter (PEXCEPTION_POINTERS pExceptionInfo)
@@ -73,4 +75,4 @@ redirect_errors_to_stderr::redirect_errors_to_stderr()
SetUnhandledExceptionFilter (&UnhandledExceptionFilter);
}
-} // namespace
+}}} // namespace