diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-26 15:19:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-26 15:19:48 +0200 |
commit | 70ccc8523ab826b41f0ddc11dd7f464ffcd77ba3 (patch) | |
tree | 62a6912d2241b692d605022b2419b6cb78b05ead /odb/qt/date-time/sqlite/qdate-time-traits.hxx | |
parent | ab055dda20427a57acd0571b445a6414793fdc4b (diff) |
Use struct instead of class in specialization
Diffstat (limited to 'odb/qt/date-time/sqlite/qdate-time-traits.hxx')
-rw-r--r-- | odb/qt/date-time/sqlite/qdate-time-traits.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/odb/qt/date-time/sqlite/qdate-time-traits.hxx b/odb/qt/date-time/sqlite/qdate-time-traits.hxx index 07c72c1..f36852f 100644 --- a/odb/qt/date-time/sqlite/qdate-time-traits.hxx +++ b/odb/qt/date-time/sqlite/qdate-time-traits.hxx @@ -23,9 +23,8 @@ namespace odb namespace sqlite { template <> - class default_value_traits<QDateTime, id_text> + struct default_value_traits<QDateTime, id_text> { - public: typedef QDateTime value_type; typedef QDateTime query_type; typedef details::buffer image_type; @@ -74,9 +73,8 @@ namespace odb // The integer value represents UNIX time. // template <> - class default_value_traits<QDateTime, id_integer> + struct default_value_traits<QDateTime, id_integer> { - public: typedef QDateTime value_type; typedef QDateTime query_type; typedef long long image_type; @@ -113,7 +111,7 @@ namespace odb }; template <> - class default_type_traits<QDateTime> + struct default_type_traits<QDateTime> { static const database_type_id db_type_id = id_text; }; |