diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-04 16:42:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-04 16:42:20 +0200 |
commit | 59c2891c0f3dcbc3721539e9bef068954cddd433 (patch) | |
tree | 7af1be1006e9bcc43e8113875e9f688cb840f0df | |
parent | e1a26938a55d7e0bdbfd5a1aa29e4712edb74b23 (diff) |
Add _has_cache() custom session interface, use in OLV implementation
-rw-r--r-- | common/session/custom/session.hxx | 3 |
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 { |