diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-10-07 20:18:46 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-10-07 20:18:46 +0000 |
commit | 8a5de99cbfe223c1564f95b7d900bc7abd8eeb07 (patch) | |
tree | e3abc8a254b39f495861920ed30de983e1610ea1 /src/patch/test_patch_system.cc | |
parent | f6b73eb2bba737fd76c0b8b576e02b518befa6c7 (diff) |
This change fixes problems with some compilers recognizing only <vector>,
and others recognizing only <vector.h>;
change from
#include <vector.h>
to
#include "stl_vector.hh"
(this now after includeing "cctk.h"), where "stl_vector.hh" is a
new header file that looks at the symbols HAVE_VECTOR and HAVE_VECTOR_H
(defined by Cactus at configuration time) to see what to #include
and whether or not to use an explicit using declaration to bring
vector into the global namespace
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@809 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/test_patch_system.cc')
-rw-r--r-- | src/patch/test_patch_system.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/patch/test_patch_system.cc b/src/patch/test_patch_system.cc index 6056d1b..863f780 100644 --- a/src/patch/test_patch_system.cc +++ b/src/patch/test_patch_system.cc @@ -29,13 +29,14 @@ #include <stdio.h> #include <assert.h> #include <math.h> -#include <vector.h> #include "util_Table.h" #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" +#include "stl_vector.hh" + #include "config.h" #include "stdc.h" #include "../jtutil/util.hh" |