From a2bcfe4338801d1979ee859a3ce6cc289f80a5aa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Jun 2010 12:04:00 -0400 Subject: Increase item_t's flags to 16-bit --- src/item.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 7045c875..92b29844 100644 --- a/src/item.h +++ b/src/item.h @@ -97,7 +97,7 @@ private: #endif // HAVE_BOOST_SERIALIZATION }; -class item_t : public supports_flags<>, public scope_t +class item_t : public supports_flags, public scope_t { public: #define ITEM_NORMAL 0x00 // no flags at all, a basic posting @@ -117,11 +117,11 @@ public: optional metadata; item_t(flags_t _flags = ITEM_NORMAL, const optional& _note = none) - : supports_flags<>(_flags), _state(UNCLEARED), note(_note) + : supports_flags(_flags), _state(UNCLEARED), note(_note) { TRACE_CTOR(item_t, "flags_t, const string&"); } - item_t(const item_t& item) : supports_flags<>(), scope_t() + item_t(const item_t& item) : supports_flags(), scope_t() { TRACE_CTOR(item_t, "copy"); copy_details(item); @@ -204,7 +204,7 @@ private: template void serialize(Archive& ar, const unsigned int /* version */) { - ar & boost::serialization::base_object >(*this); + ar & boost::serialization::base_object >(*this); ar & boost::serialization::base_object(*this); ar & _state; ar & _date; -- cgit v1.2.3