aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/system_error
diff options
context:
space:
mode:
authordenisk <denisk@yandex-team.ru>2022-02-10 16:48:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:13 +0300
commita02ea31d51f94b7edb98c6ab1322bf26ca04beb5 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /contrib/libs/cxxsupp/libcxx/include/system_error
parenta3e40d22cc86312046f69a10ea401b78e9efb746 (diff)
downloadydb-a02ea31d51f94b7edb98c6ab1322bf26ca04beb5.tar.gz
Restoring authorship annotation for <denisk@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/system_error')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/system_error22
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/system_error b/contrib/libs/cxxsupp/libcxx/include/system_error
index 6e9d453c16..7e6d3c1cc5 100644
--- a/contrib/libs/cxxsupp/libcxx/include/system_error
+++ b/contrib/libs/cxxsupp/libcxx/include/system_error
@@ -136,7 +136,7 @@ bool operator!=(const error_condition& lhs, const error_code& rhs) noexcept;
bool operator!=(const error_condition& lhs, const error_condition& rhs) noexcept;
template <> struct hash<std::error_code>;
-template <> struct hash<std::error_condition>;
+template <> struct hash<std::error_condition>;
} // std
@@ -448,17 +448,17 @@ struct _LIBCPP_TEMPLATE_VIS hash<error_code>
}
};
-template <>
+template <>
struct _LIBCPP_TEMPLATE_VIS hash<error_condition>
- : public unary_function<error_condition, size_t>
-{
- _LIBCPP_INLINE_VISIBILITY
- size_t operator()(const error_condition& __ec) const _NOEXCEPT
- {
- return static_cast<size_t>(__ec.value());
- }
-};
-
+ : public unary_function<error_condition, size_t>
+{
+ _LIBCPP_INLINE_VISIBILITY
+ size_t operator()(const error_condition& __ec) const _NOEXCEPT
+ {
+ return static_cast<size_t>(__ec.value());
+ }
+};
+
// system_error
class _LIBCPP_TYPE_VIS system_error