diff options
author | schnetter <> | 2003-03-12 08:34:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-03-12 08:34:00 +0000 |
commit | 29d0a3a759bca42dcd8b3acea03f4a8a951df905 (patch) | |
tree | fb074a633e2a4ab0be3bf92245a9ec60bc2958a3 /CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc | |
parent | 9baad98d3ff0d8ec4078e33325a987c053b30345 (diff) |
Change many "cGH *" to "const cGH *", and apply corresponding updates
Change many "cGH *" to "const cGH *", and apply corresponding updates
to the const-ness of other variables.
darcs-hash:20030312083444-07bb3-0f26f780a1bdfb844c3e00383f787d674dc61c84.gz
Diffstat (limited to 'CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc')
-rw-r--r-- | CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc index 0b2afa93a..a9205522a 100644 --- a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc +++ b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc @@ -34,7 +34,7 @@ #include "ioflexio.hh" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.22 2003/02/28 10:09:47 schnetter Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.23 2003/03/12 09:34:44 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetIOFlexIO_ioflexio_cc); } @@ -375,7 +375,7 @@ namespace CarpetIOFlexIO { - int InputGH (cGH* const cgh) { + int InputGH (const cGH* const cgh) { int retval = 0; for (int vindex=0; vindex<CCTK_NumVars(); ++vindex) { if (CheckForVariable(cgh, GetStringParameter("in3D_vars",""), vindex)) { @@ -390,7 +390,7 @@ namespace CarpetIOFlexIO { - int InputVarAs (cGH* const cgh, const char* const varname, + int InputVarAs (const cGH* const cgh, const char* const varname, const char* const alias) { DECLARE_CCTK_PARAMETERS; |