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/date-time/mysql/qdate-time-traits.hxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'odb/qt/date-time/mysql/qdate-time-traits.hxx') diff --git a/odb/qt/date-time/mysql/qdate-time-traits.hxx b/odb/qt/date-time/mysql/qdate-time-traits.hxx index dfe9d9d..fcb2d79 100644 --- a/odb/qt/date-time/mysql/qdate-time-traits.hxx +++ b/odb/qt/date-time/mysql/qdate-time-traits.hxx @@ -17,9 +17,8 @@ namespace odb namespace mysql { template <> - class default_value_traits + struct default_value_traits { - public: typedef QDateTime value_type; typedef QDateTime query_type; typedef MYSQL_TIME image_type; @@ -67,9 +66,8 @@ namespace odb }; template <> - class default_value_traits + struct default_value_traits { - public: typedef QDateTime value_type; typedef QDateTime query_type; typedef MYSQL_TIME image_type; @@ -117,7 +115,7 @@ namespace odb }; template <> - class default_type_traits + struct default_type_traits { static const database_type_id db_type_od = id_datetime; }; -- cgit v1.1