mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-01 05:24:47 +02:00
Activate asserts also in release mode
This commit is contained in:
@@ -15,14 +15,18 @@
|
||||
#include <boost/intrusive/set.hpp>
|
||||
#include <boost/intrusive/unordered_set.hpp>
|
||||
#include <vector>
|
||||
|
||||
#ifdef NDEBUG
|
||||
#undef NDEBUG
|
||||
#endif
|
||||
#include <cassert>
|
||||
|
||||
using namespace boost::intrusive;
|
||||
|
||||
class MyClass : public set_base_hook<>
|
||||
, public unordered_set_base_hook<>
|
||||
, public unordered_set_base_hook<>
|
||||
{
|
||||
public:
|
||||
public:
|
||||
int first;
|
||||
explicit MyClass(int i) : first(i){}
|
||||
};
|
||||
|
Reference in New Issue
Block a user