forked from boostorg/container
Fixed error in default_init_allocator, it should not construct objects, only allocate raw memory.
[SVN r85999]
This commit is contained in:
@@ -11,14 +11,6 @@
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
#include <boost/detail/no_exceptions_support.hpp>
|
||||
|
||||
// TODO: Disable parts of the unit test that should not run when BOOST_NO_EXCEPTIONS
|
||||
// if exceptions are enabled there must be a user defined throw_exception function
|
||||
#ifdef BOOST_NO_EXCEPTIONS
|
||||
namespace boost {
|
||||
void throw_exception(std::exception const &){}; // user defined
|
||||
} // namespace boost
|
||||
#endif // BOOST_NO_EXCEPTIONS
|
||||
|
||||
#include <vector>
|
||||
#include <list>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user