aboutsummaryrefslogtreecommitdiff
path: root/common/optimistic
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-08 17:29:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-08 17:29:55 +0200
commitdf9de141e37fdec17c33d56cb0f21f76a4867239 (patch)
tree6a1fc1821d1769084ed02b5bc8c36583bb9233b7 /common/optimistic
parentcbaa5532f056d0ad20300abbba253b065982187a (diff)
Add support for const version members
Diffstat (limited to 'common/optimistic')
-rw-r--r--common/optimistic/test.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/optimistic/test.hxx b/common/optimistic/test.hxx
index 06dadff..5346e1c 100644
--- a/common/optimistic/test.hxx
+++ b/common/optimistic/test.hxx
@@ -61,7 +61,7 @@ struct base
unsigned long id_;
#pragma db version
- unsigned long ver;
+ const unsigned long ver;
std::string str;