aboutsummaryrefslogtreecommitdiff
path: root/src/slab.cc
diff options
context:
space:
mode:
authorrhaas <rhaas@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2009-12-03 16:30:15 +0000
committerrhaas <rhaas@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2009-12-03 16:30:15 +0000
commitae40b2b351ea71ccbe203f71f596cc993dd60c56 (patch)
treea06fcfac8da671e1c71d5ffc26553291542e34c2 /src/slab.cc
parent7684d49a94c59ab9b3010bd604b8f777d079b3b0 (diff)
add namespace in slab.cc and slab.h in such a way as to make the PGI
compiler on Kraken compile the code git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@69 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
Diffstat (limited to 'src/slab.cc')
-rw-r--r--src/slab.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slab.cc b/src/slab.cc
index 17ddb0c..881278c 100644
--- a/src/slab.cc
+++ b/src/slab.cc
@@ -54,6 +54,8 @@
using namespace std;
+namespace Slab
+{
#ifdef DEBUG
# define ifdebug
@@ -1777,3 +1779,4 @@ Slab_Transfer (cGH const * restrict const cctkGH,
return Slab_MultiTransfer (cctkGH, dim, xferinfo, options,
nvars, srctypes, srcptrs, dsttypes, dstptrs);
}
+}