aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/basic/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'odb/qt/basic/mysql')
-rw-r--r--odb/qt/basic/mysql/qbyte-array-traits.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/qt/basic/mysql/qbyte-array-traits.hxx b/odb/qt/basic/mysql/qbyte-array-traits.hxx
index e31c82d..0c1a5b8 100644
--- a/odb/qt/basic/mysql/qbyte-array-traits.hxx
+++ b/odb/qt/basic/mysql/qbyte-array-traits.hxx
@@ -21,9 +21,8 @@ namespace odb
namespace mysql
{
template <>
- class default_value_traits<QByteArray, id_blob>
+ struct default_value_traits<QByteArray, id_blob>
{
- public:
typedef QByteArray value_type;
typedef QByteArray query_type;
typedef details::buffer image_type;
@@ -63,7 +62,7 @@ namespace odb
};
template <>
- class default_type_traits<QByteArray>
+ struct default_type_traits<QByteArray>
{
static const database_type_id db_type_id = id_blob;
};