aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-29 19:06:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-29 19:06:16 +0200
commitf5f515acc2b926eb838b82b457f6b5979db5f309 (patch)
tree11166b2a6f935cc7446a28b28b156f309887b56a
parent9d1ca8dbba506f2e2dd52057ffe99910c9ef6ec8 (diff)
Fix UUID char[16] query_type alias
Instead of pre-decaying it to const char*, let the normal decay do it for us. This fixes a compilation issue when used with dynamic multi- database support.
-rw-r--r--odb/pgsql/traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/traits.hxx b/odb/pgsql/traits.hxx
index debe323..dc90dda 100644
--- a/odb/pgsql/traits.hxx
+++ b/odb/pgsql/traits.hxx
@@ -757,7 +757,7 @@ namespace odb
struct LIBODB_PGSQL_EXPORT default_value_traits<char[16], id_uuid>
{
typedef char* value_type;
- typedef const char* query_type;
+ typedef char query_type[16];
typedef unsigned char* image_type;
static void