aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/experimental/bits/fs_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/experimental/bits/fs_path.h')
-rw-r--r--libstdc++-v3/include/experimental/bits/fs_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/experimental/bits/fs_path.h b/libstdc++-v3/include/experimental/bits/fs_path.h
index e9d6619..239776d 100644
--- a/libstdc++-v3/include/experimental/bits/fs_path.h
+++ b/libstdc++-v3/include/experimental/bits/fs_path.h
@@ -365,7 +365,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
// query
- bool empty() const noexcept { return _M_pathname.empty(); }
+ _GLIBCXX_NODISCARD bool empty() const noexcept { return _M_pathname.empty(); }
bool has_root_name() const;
bool has_root_directory() const;
bool has_root_path() const;