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.
This commit is contained in:
parent
f49267e163
commit
e2fb245b07
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ namespace __gnu_test
|
|||
tracker_allocator()
|
||||
{ }
|
||||
|
||||
tracker_allocator(const tracker_allocator&)
|
||||
tracker_allocator(const tracker_allocator& a) : Alloc(a)
|
||||
{ }
|
||||
|
||||
~tracker_allocator()
|
||||
|
|
Loading…
Add table
Reference in a new issue