aboutsummaryrefslogtreecommitdiff
path: root/odb/session.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/session.hxx')
-rw-r--r--odb/session.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/session.hxx b/odb/session.hxx
index 377de81..f23e8a7 100644
--- a/odb/session.hxx
+++ b/odb/session.hxx
@@ -132,6 +132,9 @@ namespace odb
// Static cache API as expected by the rest of ODB.
//
public:
+ static bool
+ _has_cache () {return has_current ();}
+
// Position in the cache of the inserted element. The requirements
// for this class template are: default and copy-constructible as
// well as copy-assignable. The default constructor creates an