summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/model.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/semantics/relational/model.hxx')
-rw-r--r--odb/semantics/relational/model.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/semantics/relational/model.hxx b/odb/semantics/relational/model.hxx
index 626befd..575100f 100644
--- a/odb/semantics/relational/model.hxx
+++ b/odb/semantics/relational/model.hxx
@@ -19,6 +19,9 @@ namespace semantics
version_type
version () const {return version_;}
+ void
+ version (version_type v) {version_ = v;}
+
public:
model (version_type v): version_ (v) {}
model (model const&, graph&);