aboutsummaryrefslogtreecommitdiff
path: root/common/view
diff options
context:
space:
mode:
Diffstat (limited to 'common/view')
-rw-r--r--common/view/driver.cxx2
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 ());