From 59c2891c0f3dcbc3721539e9bef068954cddd433 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 Apr 2016 16:42:20 +0200 Subject: Add _has_cache() custom session interface, use in OLV implementation --- common/session/custom/session.hxx | 3 +++ 1 file changed, 3 insertions(+) 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 struct cache_position { -- cgit v1.1