libstdc++: Initialize base in test allocator's constructor

This fixes a warning from one of the test allocators:
warning: base class 'class std::allocator<__gnu_test::copy_tracker>' should be explicitly initialized in the copy constructor [-Wextra]

libstdc++-v3/ChangeLog:

	* testsuite/util/testsuite_allocator.h (tracker_allocator):
	Initialize base class in copy constructor.

(cherry picked from commit e2fb245b07)
This commit is contained in:
Jonathan Wakely 2024-06-20 16:13:10 +01:00
parent 135be552d1
commit 595e3fa771

View File

@ -154,7 +154,7 @@ namespace __gnu_test
tracker_allocator()
{ }
tracker_allocator(const tracker_allocator&)
tracker_allocator(const tracker_allocator& a) : Alloc(a)
{ }
~tracker_allocator()