aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2012-02-24 21:45:44 -0500
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:05 +0100
commit71e9ef3c7a41255b4e6eed87cdfd60f8cb0b26f7 (patch)
tree0b92b48cb7a2ef74a51ecc3958821d406dbb16c0
parent182a0817d15d082d89907c95316e6176736c2c03 (diff)
CarpetLib: Declare gh::level_did_change as const
-rw-r--r--Carpet/CarpetLib/src/gh.cc2
-rw-r--r--Carpet/CarpetLib/src/gh.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/gh.cc b/Carpet/CarpetLib/src/gh.cc
index 5bcd64e34..295ebc43c 100644
--- a/Carpet/CarpetLib/src/gh.cc
+++ b/Carpet/CarpetLib/src/gh.cc
@@ -290,7 +290,7 @@ recompose (int const rl,
bool
gh::
-level_did_change (int const rl)
+level_did_change (int const rl) const
{
// Find out whether this level changed
if (regions.size() != oldregions.size()) return true;
diff --git a/Carpet/CarpetLib/src/gh.hh b/Carpet/CarpetLib/src/gh.hh
index 52fae64d0..4b4f6c6f0 100644
--- a/Carpet/CarpetLib/src/gh.hh
+++ b/Carpet/CarpetLib/src/gh.hh
@@ -87,7 +87,7 @@ public:
private:
- bool level_did_change (int rl) CCTK_ATTRIBUTE_PURE;
+ bool level_did_change (int rl) const CCTK_MEMBER_ATTRIBUTE_PURE;
// Accessors