SCRIPT: FRC_ replacements

This commit is contained in:
PJ Reiniger
2025-11-07 20:00:43 -05:00
committed by Peter Johnson
parent 824f36f63a
commit 928ff20695
143 changed files with 477 additions and 477 deletions

View File

@@ -24,7 +24,7 @@ EventLoop::EventLoop() {}
void EventLoop::Bind(wpi::util::unique_function<void()> action) {
if (m_running) {
throw FRC_MakeError(err::Error,
throw WPILIB_MakeError(err::Error,
"Cannot bind EventLoop while it is running");
}
m_bindings.emplace_back(std::move(action));
@@ -39,7 +39,7 @@ void EventLoop::Poll() {
void EventLoop::Clear() {
if (m_running) {
throw FRC_MakeError(err::Error,
throw WPILIB_MakeError(err::Error,
"Cannot clear EventLoop while it is running");
}
m_bindings.clear();