diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2005-02-01 14:58:53 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2005-02-01 14:58:53 +0000 |
commit | cb95431b072f5519a083a59e878255c5bcab64d1 (patch) | |
tree | d36d7e7ee32fc44b5d288f244ae16ad086071fb5 /src/jtutil/test_error_exit.cc | |
parent | 0026d529a6a0ccd030d9510858726bcd3e1e0d24 (diff) |
fix a C++ namespaces bug found by Erik:
error_exit() was declared extern "C"
--> it wasn't namespace-mangled
--> it could conflict with a similar error_exit() in another thorn
although this fix touches a *lot* of files, it's conceptually simple:
* error_exit() is not extern "C" any more
* everything in src/jtutil/ (which used to be in the jtutil:: namespace)
is now in the AHFinderDirect::jtutil:: namespace
--> all C++ code in this thorn is now inside the AHFinderDirect:: namespace
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1395 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/jtutil/test_error_exit.cc')
-rw-r--r-- | src/jtutil/test_error_exit.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jtutil/test_error_exit.cc b/src/jtutil/test_error_exit.cc index a1b568e..fd4e170 100644 --- a/src/jtutil/test_error_exit.cc +++ b/src/jtutil/test_error_exit.cc @@ -4,6 +4,8 @@ #include <stdio.h> #include "stdc.h" + +using namespace AHFinderDirect; using jtutil::error_exit; int main() |