From 743e60a2d3e15330ea74bb65b6a3c1bd3ba71821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 12 Oct 2015 22:13:09 +0200 Subject: [PATCH] Revert some unneeded changes for GCC 3.4. --- test/expand_bwd_test_allocator.hpp | 2 +- test/scoped_allocator_usage_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/expand_bwd_test_allocator.hpp b/test/expand_bwd_test_allocator.hpp index 925858a..2e16093 100644 --- a/test/expand_bwd_test_allocator.hpp +++ b/test/expand_bwd_test_allocator.hpp @@ -79,7 +79,7 @@ class expand_bwd_test_allocator { typedef expand_bwd_test_allocator other; }; //!Constructor from the segment manager. Never throws - expand_bwd_test_allocator(T *buffer = 0, size_type sz = 0, difference_type offset = 0) + expand_bwd_test_allocator(T *buffer, size_type sz, difference_type offset) : mp_buffer(buffer), m_size(sz) , m_offset(offset), m_allocations(0){ } diff --git a/test/scoped_allocator_usage_test.cpp b/test/scoped_allocator_usage_test.cpp index d12e4fa..8cf9311 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; - explicit SimpleAllocator(int value = 0) + explicit SimpleAllocator(int value) : m_state(value) {}