commit | 2f9585392da2f8c570fe879adbd08a6b0bfdc496 | [log] [tgz] |
---|---|---|
author | Jonathan Wakely <jwakely@redhat.com> | Thu Sep 26 23:36:46 2024 +0100 |
committer | Jonathan Wakely <redi@gcc.gnu.org> | Thu Oct 03 11:20:30 2024 +0100 |
tree | ad84b96e48598f7e6002a6610e0943899323a59b | |
parent | 61584f377ceee868c73a994e4d9d7b7bee5fb443 [diff] |
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. (cherry picked from commit 48e1b89f14f5eab9eb3f61830f608d92c4ee54b6)