diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-24 15:10:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-24 15:10:22 +0200 |
commit | 89de275db2b77d0abf9fa1ec066ef11e262c88af (patch) | |
tree | 06cb2272c5e791946dc58421ed3f2d03b7c8122e /libcommon/common/common.txx | |
parent | 539c92147e8d58c49f350c4070051a6ddf6b2354 (diff) |
Add support for mapping char[N] to CHAR/VARCHAR database types
Also improve query support for arrays (decaying).
Diffstat (limited to 'libcommon/common/common.txx')
-rw-r--r-- | libcommon/common/common.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcommon/common/common.txx b/libcommon/common/common.txx index 66ccac9..5c40520 100644 --- a/libcommon/common/common.txx +++ b/libcommon/common/common.txx @@ -11,7 +11,7 @@ size_available (); template <typename T> std::size_t -size (odb::result<T>& r) +size (odb::result<T> r) { if (size_available ()) return r.size (); |