libstdc++: Add missing 'inline' to always_inline function
commit48e1b89f14f5eab9eb3f61830f608d92c4ee54b6
authorJonathan Wakely <jwakely@redhat.com>
Thu, 26 Sep 2024 22:36:46 +0000 (26 23:36 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 26 Sep 2024 23:18:43 +0000 (27 00:18 +0100)
tree667789c0b0fc85f8226ea86005821473eb2ede9f
parent6a4d1c374eed177eceb12a50f3b25bd20f8b347a
libstdc++: Add missing 'inline' to always_inline function

This fixes a -Wattributes warning for the COW std::string which was
previously suppressed due to being in a system header.

libstdc++-v3/ChangeLog:

* include/bits/cow_string.h (__resize_for_overwrite): Add
inline keyword to function with always_inline attribute.
libstdc++-v3/include/bits/cow_string.h