aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Storage.cc
diff options
context:
space:
mode:
authorschnetter <>2003-07-14 13:45:00 +0000
committerschnetter <>2003-07-14 13:45:00 +0000
commitd274f83de27ea6fe0a3adf3abfaf84429a26c3a8 (patch)
treeaea4deb15cc91b51f395651f1a470d984977d602 /Carpet/Carpet/src/Storage.cc
parentb7f1c8bf37644802bc4ed9fa7ae146addf5839be (diff)
Not only declare, but also define the routines as taking a const cGH *.
darcs-hash:20030714134537-07bb3-0d7f80e9168a6d448c300cbfe808a6beb7619ae4.gz
Diffstat (limited to 'Carpet/Carpet/src/Storage.cc')
-rw-r--r--Carpet/Carpet/src/Storage.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Storage.cc b/Carpet/Carpet/src/Storage.cc
index 3763f20ab..bca597665 100644
--- a/Carpet/Carpet/src/Storage.cc
+++ b/Carpet/Carpet/src/Storage.cc
@@ -10,7 +10,7 @@
#include "carpet.hh"
extern "C" {
- static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Storage.cc,v 1.22 2003/06/18 18:28:07 schnetter Exp $";
+ static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Storage.cc,v 1.23 2003/07/14 15:45:37 schnetter Exp $";
CCTK_FILEVERSION(Carpet_Carpet_Storage_cc);
}
@@ -22,7 +22,7 @@ namespace Carpet {
- int EnableGroupStorage (cGH* cgh, const char* groupname)
+ int EnableGroupStorage (const cGH* cgh, const char* groupname)
{
DECLARE_CCTK_PARAMETERS;
@@ -127,7 +127,7 @@ namespace Carpet {
- int DisableGroupStorage (cGH* cgh, const char* groupname)
+ int DisableGroupStorage (const cGH* cgh, const char* groupname)
{
Checkpoint ("%*sDisableGroupStorage %s", 2*reflevel, "", groupname);