]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Initialize base in test allocator's constructor
authorJonathan Wakely <jwakely@redhat.com>
Thu, 20 Jun 2024 15:13:10 +0000 (16:13 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 21 Jun 2024 09:10:09 +0000 (10:10 +0100)
commite2fb245b07f489ed5bfd9a945e0053b4a3211245
tree00b14997bf16e3c283faa38eabefa8b11d4ebc68
parentf49267e1636872128249431e9e5d20c0908b7e8e
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.
libstdc++-v3/testsuite/util/testsuite_allocator.h