[wpilibc] DriverStation: Remove ReportError and ReportWarning

Change use cases to directly call FRC_ReportError.
This commit is contained in:
Peter Johnson
2021-05-24 23:36:26 -07:00
parent 831c10bdfc
commit a04d1b4f97
26 changed files with 169 additions and 146 deletions

View File

@@ -11,7 +11,7 @@ using namespace wpi::math;
namespace {
class DefaultMathShared : public MathShared {
public:
void ReportError(const wpi::Twine& error) override {}
void ReportErrorV(fmt::string_view format, fmt::format_args args) override {}
void ReportUsage(MathUsageId id, int count) override {}
};
} // namespace