libstdc++: Fix deprecated attribute for std::get_temporary_buffer
This was deprecated in C++17, not C++14. libstdc++-v3/ChangeLog: * include/bits/stl_tempbuf.h (get_temporary_buffer): Change _GLIBCXX14_DEPRECATED to _GLIBCXX17_DEPRECATED.
This commit is contained in:
parent
72ce3fd2c7
commit
a68080a121
@ -96,7 +96,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
* Provides the nothrow exception guarantee.
|
||||
*/
|
||||
template<typename _Tp>
|
||||
_GLIBCXX14_DEPRECATED
|
||||
_GLIBCXX17_DEPRECATED
|
||||
pair<_Tp*, ptrdiff_t>
|
||||
get_temporary_buffer(ptrdiff_t __len) _GLIBCXX_NOEXCEPT
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user