aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/session.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/session.hxx b/odb/session.hxx
index 076e88d..44325da 100644
--- a/odb/session.hxx
+++ b/odb/session.hxx
@@ -149,6 +149,9 @@ namespace odb
cache_position (): map_ (0) {}
cache_position (map& m, const iterator& p): map_ (&m), pos_ (p) {}
+ cache_position (const cache_position& p)
+ : map_ (p.map_), pos_ (p.pos_) {}
+
cache_position&
operator= (const cache_position& p)
{