From 63aec0d22bdf4335fe5e42fa8bb7004b306caa50 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 7 Jun 2011 18:07:50 +0200 Subject: Remove enum from set of supported types --- odb/pgsql/traits.hxx | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'odb') diff --git a/odb/pgsql/traits.hxx b/odb/pgsql/traits.hxx index 45c92e3..a1e3cf6 100644 --- a/odb/pgsql/traits.hxx +++ b/odb/pgsql/traits.hxx @@ -44,7 +44,6 @@ namespace odb id_bytea, id_bit, id_varbit, - id_enum, id_uuid }; @@ -89,10 +88,7 @@ namespace odb template <> struct image_traits {typedef details::ubuffer image_type;}; - template <> - struct image_traits {typedef details::buffer image_type;}; - - // @@ UUID image is a 16-byte sequence. + // UUID image is a 16-byte sequence. // template <> struct image_traits {typedef unsigned char* image_type;}; @@ -186,12 +182,6 @@ namespace odb { }; - template <> - struct LIBODB_PGSQL_EXPORT default_value_traits: - string_value_traits - { - }; - // const char* specialization // // Specialization for const char* which only supports initialization @@ -224,12 +214,6 @@ namespace odb { }; - template <> - struct LIBODB_PGSQL_EXPORT default_value_traits: - c_string_value_traits - { - }; - // // type_traits // @@ -238,7 +222,7 @@ namespace odb struct default_type_traits; template - class type_traits: public default_type_traits + class type_traits: public default_type_traits { }; -- cgit v1.1