diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-21 13:00:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-21 13:00:34 +0200 |
commit | b434d9d0245aa03879155fb830613f471af12976 (patch) | |
tree | a4f683e0a3e1dcecee4cd549216f1653f7710fd9 /common/view/driver.cxx | |
parent | 0da4038d5047d83f3dbc86a06740d83b4fbf2ae5 (diff) |
Rework const object handling
Now objects are always loaded as non-const and the object cache in
session treats all objects as non-const.
Diffstat (limited to 'common/view/driver.cxx')
-rw-r--r-- | common/view/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/view/driver.cxx b/common/view/driver.cxx index 847d21b..7d921cd 100644 --- a/common/view/driver.cxx +++ b/common/view/driver.cxx @@ -323,7 +323,7 @@ main (int argc, char* argv[]) // { typedef odb::query<view3> query; - typedef odb::result<view3> result; + typedef odb::result<const view3> result; // Test const result. { transaction t (db->begin ()); |