aboutsummaryrefslogtreecommitdiff
path: root/odb/session.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/session.hxx')
-rw-r--r--odb/session.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/session.hxx b/odb/session.hxx
index 076e88d..a14c42f 100644
--- a/odb/session.hxx
+++ b/odb/session.hxx
@@ -1,5 +1,4 @@
// file : odb/session.hxx
-// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_SESSION_HXX
@@ -149,6 +148,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)
{