mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libstdc++: Explicitly call _Mo_base() in _Cpy_base copy-constructor [PR123758]
This silences the warning while preserving current (correct) behavior. PR libstdc++/123758 libstdc++-v3/ChangeLog: * include/bits/funcwrap.h (_Cpy_base(_Cpy_base const&)): Explicitly call _Mo_base() in initializer list.
This commit is contained in:
@@ -495,6 +495,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
_Cpy_base(_Cpy_base&&) = default;
|
||||
|
||||
_Cpy_base(_Cpy_base const& __x)
|
||||
: _Mo_base()
|
||||
{ _M_copy(__x); }
|
||||
|
||||
_Cpy_base&
|
||||
|
||||
Reference in New Issue
Block a user