aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/sqlite/gregorian-traits.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-26 15:22:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-26 15:22:47 +0200
commit3772c27bfa99dc3c0a09e78918d47dd2cd27c85c (patch)
tree1a3bfa6d8bb1c9f46f5e32621f7b1d3490406b7b /odb/boost/date-time/sqlite/gregorian-traits.hxx
parentaa70c6c3e9f7be699ddbf44abcad87714675b851 (diff)
Use struct instead of class in specialization
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;
};