summaryrefslogtreecommitdiff
path: root/src/theory/substitutions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/substitutions.h')
-rw-r--r--src/theory/substitutions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/substitutions.h b/src/theory/substitutions.h
index 27c1a2b69..958f50276 100644
--- a/src/theory/substitutions.h
+++ b/src/theory/substitutions.h
@@ -73,16 +73,16 @@ private:
/** Helper class to invalidate cache on user pop */
class CacheInvalidator : public context::ContextNotifyObj {
bool& d_cacheInvalidated;
-
+ protected:
+ void contextNotifyPop() {
+ d_cacheInvalidated = true;
+ }
public:
CacheInvalidator(context::Context* context, bool& cacheInvalidated) :
context::ContextNotifyObj(context),
d_cacheInvalidated(cacheInvalidated) {
}
- void notify() {
- d_cacheInvalidated = true;
- }
};/* class SubstitutionMap::CacheInvalidator */
/**
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback