aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-01-24 15:10:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-01-24 15:10:22 +0200
commit89de275db2b77d0abf9fa1ec066ef11e262c88af (patch)
tree06cb2272c5e791946dc58421ed3f2d03b7c8122e /libcommon/common/common.hxx
parent539c92147e8d58c49f350c4070051a6ddf6b2354 (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.hxx')
-rw-r--r--libcommon/common/common.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcommon/common/common.hxx b/libcommon/common/common.hxx
index 2b79a5a..0d56d7c 100644
--- a/libcommon/common/common.hxx
+++ b/libcommon/common/common.hxx
@@ -38,11 +38,11 @@ create_specific_database (int& argc,
}
// This function returns an accurate result only if the result iterator
-// hasn't been advanced.
+// hasn't been advanced and after the call the result is no longer valid.
//
template <typename T>
std::size_t
-size (odb::result<T>&);
+size (odb::result<T>);
#include <common/common.txx>