Explicit curly bracket where suggested

Co-authored-by: Daniel Lemire <daniel@lemire.me>
This commit is contained in:
Maya Warrier 2023-12-14 16:28:23 -05:00 committed by GitHub
parent a59a62cb5c
commit 882a716c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,7 +534,7 @@ from_chars_result_t<UC> parse_int_string(UC const* p, UC const* pend, T& value,
#pragma warning(pop)
#endif
}
else value = T(i);
else { value = T(i); }
answer.ec = std::errc();
return answer;