libstdc++: Remove incorrect static specifiers
These functions were originally static members of the path class, but the 'static' specifiers were not removed when they were moved to namespace scope. This causes ODR violations when the functions are called from functions defined in the header. Change them to 'inline' instead. Backport from mainline 2020-05-23 Jonathan Wakely <jwakely@redhat.com> * include/bits/fs_path.h (__detail::_S_range_begin) (__detail::_S_range_end): Remove unintentional static specifiers. * include/experimental/bits/fs_path.h (__detail::_S_range_begin) (__detail::_S_range_end): Likewise.
Showing
Please
register
or
sign in
to comment