From f5f515acc2b926eb838b82b457f6b5979db5f309 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Oct 2015 19:06:16 +0200 Subject: 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. --- odb/pgsql/traits.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { typedef char* value_type; - typedef const char* query_type; + typedef char query_type[16]; typedef unsigned char* image_type; static void -- cgit v1.1