diff --git a/test/scoped_allocator_usage_test.cpp b/test/scoped_allocator_usage_test.cpp index 61607e7..2e90205 100644 --- a/test/scoped_allocator_usage_test.cpp +++ b/test/scoped_allocator_usage_test.cpp @@ -31,7 +31,7 @@ class SimpleAllocator public: typedef Ty value_type; - SimpleAllocator(int value) + explicit SimpleAllocator(int value) : m_state(value) {} @@ -388,7 +388,7 @@ bool one_level_allocator_propagation_test() } int main() -{/* +{ //unique assoc if(!one_level_allocator_propagation_test()) return 1; @@ -406,7 +406,7 @@ int main() if(!one_level_allocator_propagation_test()) return 1; if(!one_level_allocator_propagation_test()) - return 1;*/ + return 1; //sequence containers if(!one_level_allocator_propagation_test()) return 1;