diff options
author | mikhnenko <[email protected]> | 2023-10-06 17:52:32 +0300 |
---|---|---|
committer | mikhnenko <[email protected]> | 2023-10-06 20:37:34 +0300 |
commit | 5ae8a1d5a335e8842ec7d738b63084ff9e859d91 (patch) | |
tree | f78e50dd87826dbfa0e105524e7712de898e0168 /contrib/libs/cxxsupp/libcxx/src/filesystem | |
parent | abce6653da14c738a48f8703314aa8ad569e5bf9 (diff) |
Upd libc++ to 95a2527261443729a398e16bc7dc6dd325fc2691 (29 Mar 2022)
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/filesystem')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h b/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h index 13f9e0f4c9a..26130d71ab3 100644 --- a/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h +++ b/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h @@ -111,7 +111,7 @@ format_string(const char* msg, ...) { } error_code capture_errno() { - _LIBCPP_ASSERT(errno, "Expected errno to be non-zero"); + _LIBCPP_ASSERT(errno != 0, "Expected errno to be non-zero"); return error_code(errno, generic_category()); } |