aboutsummaryrefslogtreecommitdiff
path: root/src/jtutil
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-05-06 15:43:54 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-05-06 15:43:54 +0000
commit09c9d37c5f20c98e7d560dc14046c101ef3f9d27 (patch)
treed2da5b42bf2ecc91dc2720db357e0978012ac054 /src/jtutil
parent2018467e596bdade28b1a468cd1c6e4bcf5d33ef (diff)
add #ifndef include guards to a bunch of files, even though they shouldn't
be necessary (I never include a file twice!)... since certain lame/broken/dumb compilers (like DEC/Compaq/HP/whatever-they-call-themselves-this-week C++ version 6.something on Alpha Linux) still give multiple inclusions even with automagic template instantiation turned off :( :( :( -- thanks to Frank Loeffler for helping track this problem down! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1050 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/jtutil')
-rw-r--r--src/jtutil/array.hh7
-rw-r--r--src/jtutil/cpm_map.hh7
-rw-r--r--src/jtutil/linear_map.hh7
-rw-r--r--src/jtutil/util.hh5
4 files changed, 26 insertions, 0 deletions
diff --git a/src/jtutil/array.hh b/src/jtutil/array.hh
index bff4aa7..4c62b55 100644
--- a/src/jtutil/array.hh
+++ b/src/jtutil/array.hh
@@ -9,6 +9,9 @@
#endif
//
+#ifndef AHFINDERDIRECT__ARRAY_HH
+#define AHFINDERDIRECT__ARRAY_HH
+
//
// prerequisites:
// <assert.h>
@@ -468,3 +471,7 @@ private:
};
} // namespace jtutil::
#endif // NOT_USED
+
+//******************************************************************************
+
+#endif // AHFINDERDIRECT__ARRAY_HH
diff --git a/src/jtutil/cpm_map.hh b/src/jtutil/cpm_map.hh
index 4853820..2ad291b 100644
--- a/src/jtutil/cpm_map.hh
+++ b/src/jtutil/cpm_map.hh
@@ -4,6 +4,9 @@
// cpm_map - "integer +/-" mapping
//
+#ifndef AHFINDERDIRECT__CPM_MAP_HH
+#define AHFINDERDIRECT__CPM_MAP_HH
+
//
// prerequisites
// <assert.h>
@@ -130,3 +133,7 @@ private:
bool map_is_plus_;
};
} // namespace jtutil::
+
+//******************************************************************************
+
+#endif // AHFINDERDIRECT__CPM_MAP_HH
diff --git a/src/jtutil/linear_map.hh b/src/jtutil/linear_map.hh
index a04ee0a..f1ed3a1 100644
--- a/src/jtutil/linear_map.hh
+++ b/src/jtutil/linear_map.hh
@@ -4,6 +4,9 @@
// jtutil::linear_map - linear mapping from integers <--> floating point values
//
+#ifndef AHFINDERDIRECT__LINEAR_MAP_HH
+#define AHFINDERDIRECT__LINEAR_MAP_HH
+
//
// prerequisites
// <assert.h>
@@ -137,3 +140,7 @@ private:
const int min_int_, max_int_;
};
} // namespace jtutil::
+
+//******************************************************************************
+
+#endif // AHFINDERDIRECT__LINEAR_MAP_HH
diff --git a/src/jtutil/util.hh b/src/jtutil/util.hh
index c9af42c..4b5c281 100644
--- a/src/jtutil/util.hh
+++ b/src/jtutil/util.hh
@@ -1,6 +1,9 @@
// util.hh -- utility stuff for this thorn (all lives in namespace jtutil::)
// $Header$
+#ifndef AHFINDERDIRECT__UTIL_HH
+#define AHFINDERDIRECT__UTIL_HH
+
//
// prerequisites:
// "stdc.h"
@@ -205,3 +208,5 @@ public:
//******************************************************************************
} // namespace jtutil
+
+#endif // AHFINDERDIRECT__UTIL_HH