aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/sqlite/gregorian-traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/boost/date-time/sqlite/gregorian-traits.hxx')
-rw-r--r--odb/boost/date-time/sqlite/gregorian-traits.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/odb/boost/date-time/sqlite/gregorian-traits.hxx b/odb/boost/date-time/sqlite/gregorian-traits.hxx
index b7e5f39..b50c8f0 100644
--- a/odb/boost/date-time/sqlite/gregorian-traits.hxx
+++ b/odb/boost/date-time/sqlite/gregorian-traits.hxx
@@ -30,9 +30,8 @@ namespace odb
namespace sqlite
{
template <>
- class default_value_traits< ::boost::gregorian::date, id_text>
+ struct default_value_traits< ::boost::gregorian::date, id_text>
{
- public:
typedef ::boost::gregorian::date date;
typedef date value_type;
typedef date query_type;
@@ -82,9 +81,8 @@ namespace odb
};
template <>
- class default_value_traits< ::boost::gregorian::date, id_integer>
+ struct default_value_traits< ::boost::gregorian::date, id_integer>
{
- public:
typedef ::boost::gregorian::date date;
typedef ::boost::posix_time::time_duration time_duration;
typedef ::boost::posix_time::ptime ptime;
@@ -125,7 +123,7 @@ namespace odb
};
template <>
- class default_type_traits< ::boost::gregorian::date>
+ struct default_type_traits< ::boost::gregorian::date>
{
static const database_type_id db_type_id = id_text;
};