projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72ce3fd
)
libstdc++: Fix deprecated attribute for std::get_temporary_buffer
author
Jonathan Wakely
<jwakely@redhat.com>
Tue, 18 Jan 2022 22:27:57 +0000
(22:27 +0000)
committer
Jonathan Wakely
<jwakely@redhat.com>
Wed, 19 Jan 2022 00:58:25 +0000
(
00:58
+0000)
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.
libstdc++-v3/include/bits/stl_tempbuf.h
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/bits/stl_tempbuf.h
b/libstdc++-v3/include/bits/stl_tempbuf.h
index
654c6a8
..
db7cdb1
100644
(file)
--- a/
libstdc++-v3/include/bits/stl_tempbuf.h
+++ b/
libstdc++-v3/include/bits/stl_tempbuf.h
@@
-96,7
+96,7
@@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
* Provides the nothrow exception guarantee.
*/
template<typename _Tp>
- _GLIBCXX1
4
_DEPRECATED
+ _GLIBCXX1
7
_DEPRECATED
pair<_Tp*, ptrdiff_t>
get_temporary_buffer(ptrdiff_t __len) _GLIBCXX_NOEXCEPT
{