forked from boostorg/intrusive
Use BOOST_INTRUSIVE_STATIC_ASSERT instead of BOOST_STATIC_ASSERT to reduce library level and weight.
This commit is contained in:
1 parent
60def75ac2
commit
e84e9b7b2e
48 files changed
+240
-246
No files matched your search
@@ -30,7 +30,7 @@ class delete_disposer
|
||||
void operator()(Pointer p)
|
||||
{
|
||||
typedef typename boost::intrusive::iterator_traits<Pointer>::value_type value_type;
|
||||
BOOST_STATIC_ASSERT(( detail::is_same<T, value_type>::value ));
|
||||
BOOST_INTRUSIVE_STATIC_ASSERT(( detail::is_same<T, value_type>::value ));
|
||||
delete boost::movelib::to_raw_pointer(p);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user