From 70ccc8523ab826b41f0ddc11dd7f464ffcd77ba3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 26 Apr 2011 15:19:48 +0200 Subject: Use struct instead of class in specialization --- odb/qt/basic/sqlite/qbyte-array-traits.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'odb/qt/basic/sqlite/qbyte-array-traits.hxx') diff --git a/odb/qt/basic/sqlite/qbyte-array-traits.hxx b/odb/qt/basic/sqlite/qbyte-array-traits.hxx index 3ec8a43..0ab4835 100644 --- a/odb/qt/basic/sqlite/qbyte-array-traits.hxx +++ b/odb/qt/basic/sqlite/qbyte-array-traits.hxx @@ -21,9 +21,8 @@ namespace odb namespace sqlite { template <> - class default_value_traits + struct default_value_traits { - public: typedef QByteArray value_type; typedef QByteArray query_type; typedef details::buffer image_type; @@ -62,7 +61,7 @@ namespace odb }; template <> - class default_type_traits + struct default_type_traits { static const database_type_id db_type_id = id_blob; }; -- cgit v1.1