diff options
Diffstat (limited to 'libstdc++-v3/include/std/stacktrace')
-rw-r--r-- | libstdc++-v3/include/std/stacktrace | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/stacktrace b/libstdc++-v3/include/std/stacktrace index e0a5439..cd26062 100644 --- a/libstdc++-v3/include/std/stacktrace +++ b/libstdc++-v3/include/std/stacktrace @@ -80,7 +80,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION constexpr native_handle_type native_handle() const noexcept { return _M_pc; } - constexpr explicit operator bool() const noexcept { return _M_pc != -1; } + constexpr explicit operator bool() const noexcept + { return _M_pc != (native_handle_type)-1; } // [stacktrace.entry.query], query [[nodiscard]] |