aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time/mysql/qtime-traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/qt/date-time/mysql/qtime-traits.hxx')
-rw-r--r--odb/qt/date-time/mysql/qtime-traits.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/qt/date-time/mysql/qtime-traits.hxx b/odb/qt/date-time/mysql/qtime-traits.hxx
index 5470678..f984f1a 100644
--- a/odb/qt/date-time/mysql/qtime-traits.hxx
+++ b/odb/qt/date-time/mysql/qtime-traits.hxx
@@ -17,9 +17,8 @@ namespace odb
namespace mysql
{
template <>
- class default_value_traits<QTime, id_time>
+ struct default_value_traits<QTime, id_time>
{
- public:
typedef QTime value_type;
typedef QTime query_type;
typedef MYSQL_TIME image_type;
@@ -59,7 +58,7 @@ namespace odb
};
template <>
- class default_type_traits<QTime>
+ struct default_type_traits<QTime>
{
static const database_type_id db_type_id = id_time;
};