From 8a2e690f1269d4310a5333d248ea566f9754519b Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 4 Jul 2011 10:13:32 +0200 Subject: Correct traits byte-order conversion --- 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 7d2bce0..1fbcc26 100644 --- a/odb/pgsql/traits.hxx +++ b/odb/pgsql/traits.hxx @@ -139,7 +139,7 @@ namespace odb set_image (image_type& i, bool& is_null, T v) { is_null = false; - i = image_type (details::endian_traits::hton (v)); + i = details::endian_traits::hton (image_type (v)); } }; -- cgit v1.1