mirror of
https://github.com/fmtlib/fmt.git
synced 2026-08-03 20:14:20 +02:00
Replace multiple error reporting mechanisms with report_error
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ template <> struct scanner<num> {
|
||||
hex = true;
|
||||
++it;
|
||||
}
|
||||
if (it != end && *it != '}') throw_format_error("invalid format");
|
||||
if (it != end && *it != '}') report_error("invalid format");
|
||||
return it;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user