diff options
author | schnetter <> | 2001-11-02 09:58:00 +0000 |
---|---|---|
committer | schnetter <> | 2001-11-02 09:58:00 +0000 |
commit | b916b52db69826e44a516a452f2c6792275c73d8 (patch) | |
tree | 2aee818b4c8db08e698a971aac0d79c5ce9f50bc /Carpet/Carpet/src/Restrict.cc | |
parent | a1e2faf58c8ea0160696a73540015b9677bcf7f1 (diff) |
Added a lot of const modifiers for the cGH structure.
darcs-hash:20011102095857-07bb3-fa5851f740861e08b8780059f76c87121cea308e.gz
Diffstat (limited to 'Carpet/Carpet/src/Restrict.cc')
-rw-r--r-- | Carpet/Carpet/src/Restrict.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Restrict.cc b/Carpet/Carpet/src/Restrict.cc index 7c4ef7467..f79d57386 100644 --- a/Carpet/Carpet/src/Restrict.cc +++ b/Carpet/Carpet/src/Restrict.cc @@ -8,7 +8,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Restrict.cc,v 1.2 2001/07/09 09:00:10 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Restrict.cc,v 1.3 2001/11/02 10:58:59 schnetter Exp $"; @@ -18,7 +18,7 @@ namespace Carpet { - void Restrict (cGH* cgh) + void Restrict (const cGH* cgh) { assert (component == -1); @@ -29,7 +29,7 @@ namespace Carpet { for (int group=0; group<CCTK_NumGroups(); ++group) { // Restrict only groups with storage - if (CCTK_QueryGroupStorageI(cgh, group)) { + if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { const int tl = 0; |