aboutsummaryrefslogtreecommitdiff
path: root/common/session
diff options
context:
space:
mode:
Diffstat (limited to 'common/session')
-rw-r--r--common/session/custom/session.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/session/custom/session.hxx b/common/session/custom/session.hxx
index 29fb4a2..3cb7c24 100644
--- a/common/session/custom/session.hxx
+++ b/common/session/custom/session.hxx
@@ -95,6 +95,9 @@ private:
// Object cache interface.
//
public:
+ static bool
+ _has_cache () {return current != 0;}
+
template <typename T>
struct cache_position
{