File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ namespace decimal {
4141struct from_chars_result
4242{
4343 const char* ptr;
44- std::errc ptr ;
44+ std::errc ec ;
4545
46- friend constexpr auto operator==(const from_chars_result& lhs, const from_chars_result& rhs) noexcept = default;
46+ friend constexpr bool operator==(const from_chars_result& lhs, const from_chars_result& rhs) noexcept = default;
4747
4848 constexpr explicit operator bool() const noexcept { return ec == std::errc{}; }
4949}
@@ -62,9 +62,9 @@ namespace decimal {
6262struct to_chars_result
6363{
6464 char* ptr;
65- std::errc ptr ;
65+ std::errc ec ;
6666
67- friend constexpr auto operator==(const to_chars_result& lhs, const to_chars_result& rhs) noexcept = default;
67+ friend constexpr bool operator==(const to_chars_result& lhs, const to_chars_result& rhs) noexcept = default;
6868
6969 constexpr explicit operator bool() const noexcept { return ec == std::errc{}; }
7070}
You can’t perform that action at this time.
0 commit comments