aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetSlab
diff options
context:
space:
mode:
authorschnetter <>2003-05-13 10:19:00 +0000
committerschnetter <>2003-05-13 10:19:00 +0000
commitff0345961593717f21dda874f65762f501ac6a84 (patch)
tree591fd03385e0d596611b3ebe93983ebdf9006d20 /Carpet/CarpetSlab
parentc5e68615d13e2d12779c9d0347fbcc0eebaf4f5e (diff)
Make code const-correct. Well, sort of.
darcs-hash:20030513101942-07bb3-2a9b4aa40aafc2566a13522ff7704e480e9817b6.gz
Diffstat (limited to 'Carpet/CarpetSlab')
-rw-r--r--Carpet/CarpetSlab/src/slab.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetSlab/src/slab.cc b/Carpet/CarpetSlab/src/slab.cc
index 440f27f42..6526e5cb0 100644
--- a/Carpet/CarpetSlab/src/slab.cc
+++ b/Carpet/CarpetSlab/src/slab.cc
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.6 2003/05/13 12:14:00 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.7 2003/05/13 12:19:42 schnetter Exp $
#include <assert.h>
#include <stdlib.h>
@@ -21,7 +21,7 @@
#include "slab.hh"
extern "C" {
- static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.6 2003/05/13 12:14:00 schnetter Exp $";
+ static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.7 2003/05/13 12:19:42 schnetter Exp $";
CCTK_FILEVERSION(Carpet_CarpetSlab_slab_cc);
}
@@ -54,7 +54,7 @@ namespace CarpetSlab {
// Save global state
int saved_component = component;
if (component!=-1) {
- set_component (cgh, -1);
+ set_component ((cGH*)cgh, -1);
}
// Check Cactus grid hierarchy
@@ -238,7 +238,7 @@ namespace CarpetSlab {
// Restore global state
if (saved_component!=-1) {
- set_component (cgh, saved_component);
+ set_component ((cGH*)cgh, saved_component);
}
// Success