refactor: continue refactor project from C++17 to 23
This commit is contained in:
@ -27,7 +27,7 @@ namespace yycc::string::op {
|
||||
// Check expected size.
|
||||
if (count < 0) {
|
||||
// Invalid length returned by vsnprintf.
|
||||
return std::unexpected(FormatError::NoExpSize);
|
||||
return std::unexpected(FormatError::NoDesiredSize);
|
||||
}
|
||||
va_end(args1);
|
||||
|
||||
|
Reference in New Issue
Block a user