mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[glass, wpiutil] Add missing format args (#3626)
These were caught by compile-time format string parsing in C++20.
This commit is contained in:
@@ -88,7 +88,7 @@ void wpi::report_fatal_error(std::string_view Reason, bool GenCrashDiag) {
|
||||
if (handler) {
|
||||
handler(handlerData, std::string{Reason}, GenCrashDiag);
|
||||
} else {
|
||||
fmt::print(stderr, "LLVM ERROR: {}\n");
|
||||
fmt::print(stderr, "LLVM ERROR: {}\n", Reason);
|
||||
}
|
||||
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user