aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/experimental/string_view
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/experimental/string_view')
-rw-r--r--libstdc++-v3/include/experimental/string_view2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/experimental/string_view b/libstdc++-v3/include/experimental/string_view
index d233ecc..8cc0e90 100644
--- a/libstdc++-v3/include/experimental/string_view
+++ b/libstdc++-v3/include/experimental/string_view
@@ -169,7 +169,7 @@ inline namespace fundamentals_v1
/ sizeof(value_type) / 4;
}
- constexpr bool
+ _GLIBCXX_NODISCARD constexpr bool
empty() const noexcept
{ return this->_M_len == 0; }