diff --git a/libstdc++-v3/include/std/bit b/libstdc++-v3/include/std/bit index 18ce5ca220c1..4facb6150142 100644 --- a/libstdc++-v3/include/std/bit +++ b/libstdc++-v3/include/std/bit @@ -83,6 +83,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// Reverse order of bytes in the object representation of `value`. template + [[nodiscard]] constexpr enable_if_t::value, _Tp> byteswap(_Tp __value) noexcept {