diff options
Diffstat (limited to 'libstdc++-v3/testsuite/testsuite_allocator.cc')
-rw-r--r-- | libstdc++-v3/testsuite/testsuite_allocator.cc | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libstdc++-v3/testsuite/testsuite_allocator.cc b/libstdc++-v3/testsuite/testsuite_allocator.cc index a4f287e008b..775b2535026 100644 --- a/libstdc++-v3/testsuite/testsuite_allocator.cc +++ b/libstdc++-v3/testsuite/testsuite_allocator.cc @@ -1,5 +1,7 @@ +// -*- C++ -*- +// Testing allocator for the C++ library testsuite. // -// Copyright (C) 2002 Free Software Foundation, Inc. +// Copyright (C) 2002, 2003 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,8 +30,11 @@ #include <testsuite_allocator.h> -gnu_allocator_tracker::size_type gnu_allocator_tracker::allocationTotal_ = 0; -gnu_allocator_tracker::size_type gnu_allocator_tracker::deallocationTotal_ = 0; -int gnu_allocator_tracker::constructCount_ = 0; -int gnu_allocator_tracker::destructCount_ = 0; +namespace __gnu_cxx_test +{ + allocation_tracker::size_type allocation_tracker::allocationTotal_ = 0; + allocation_tracker::size_type allocation_tracker::deallocationTotal_ = 0; + int allocation_tracker::constructCount_ = 0; + int allocation_tracker::destructCount_ = 0; +}; // namespace __cxx_test |