diff --git a/simulation/halsim_ws_client/src/main/native/include/HALSimWS.h b/simulation/halsim_ws_client/src/main/native/include/HALSimWS.h index 1fde1d74f8..ea01d280ef 100644 --- a/simulation/halsim_ws_client/src/main/native/include/HALSimWS.h +++ b/simulation/halsim_ws_client/src/main/native/include/HALSimWS.h @@ -24,7 +24,7 @@ class HALSimWSClientConnection; class HALSimWS : public std::enable_shared_from_this { public: - using LoopFunc = std::function; + using LoopFunc = std::function; using UvExecFunc = wpi::uv::Async; HALSimWS(wpi::uv::Loop& loop, ProviderContainer& providers, diff --git a/simulation/halsim_ws_core/src/main/native/include/WSProvider_SimDevice.h b/simulation/halsim_ws_core/src/main/native/include/WSProvider_SimDevice.h index 6343e72f7b..3bc2df12d8 100644 --- a/simulation/halsim_ws_core/src/main/native/include/WSProvider_SimDevice.h +++ b/simulation/halsim_ws_core/src/main/native/include/WSProvider_SimDevice.h @@ -87,7 +87,7 @@ class HALSimWSProviderSimDevice : public HALSimWSBaseProvider { class HALSimWSProviderSimDevices { public: - using LoopFn = std::function; + using LoopFn = std::function; using UvExecFn = wpi::uv::AsyncFunction; explicit HALSimWSProviderSimDevices(ProviderContainer& providers) diff --git a/simulation/halsim_ws_server/src/main/native/include/HALSimWeb.h b/simulation/halsim_ws_server/src/main/native/include/HALSimWeb.h index fbafc7d60a..03f2cb6ade 100644 --- a/simulation/halsim_ws_server/src/main/native/include/HALSimWeb.h +++ b/simulation/halsim_ws_server/src/main/native/include/HALSimWeb.h @@ -22,7 +22,7 @@ namespace wpilibws { class HALSimWeb : public std::enable_shared_from_this { public: - using LoopFunc = std::function; + using LoopFunc = std::function; using UvExecFunc = wpi::uv::Async; HALSimWeb(wpi::uv::Loop& loop, ProviderContainer& providers, diff --git a/simulation/halsim_ws_server/src/test/native/include/WebServerClientTest.h b/simulation/halsim_ws_server/src/test/native/include/WebServerClientTest.h index dc86d89080..6f2995f0ea 100644 --- a/simulation/halsim_ws_server/src/test/native/include/WebServerClientTest.h +++ b/simulation/halsim_ws_server/src/test/native/include/WebServerClientTest.h @@ -22,7 +22,7 @@ namespace wpilibws { class WebServerClientTest { public: using BufferPool = wpi::uv::SimpleBufferPool<4>; - using LoopFunc = std::function; + using LoopFunc = std::function; using UvExecFunc = wpi::uv::AsyncFunction; explicit WebServerClientTest(wpi::uv::Loop& loop) : m_loop(loop) {} diff --git a/simulation/halsim_xrp/src/main/native/include/HALSimXRP.h b/simulation/halsim_xrp/src/main/native/include/HALSimXRP.h index b703be25f2..ee6d730389 100644 --- a/simulation/halsim_xrp/src/main/native/include/HALSimXRP.h +++ b/simulation/halsim_xrp/src/main/native/include/HALSimXRP.h @@ -28,7 +28,7 @@ namespace wpilibxrp { class HALSimXRP : public wpilibws::HALSimBaseWebSocketConnection, public std::enable_shared_from_this { public: - using LoopFunc = std::function; + using LoopFunc = std::function; using UvExecFunc = wpi::uv::Async; HALSimXRP(wpi::uv::Loop& loop, wpilibws::ProviderContainer& providers, diff --git a/wpilibNewCommands/src/main/native/cpp/frc2/command/Command.cpp b/wpilibNewCommands/src/main/native/cpp/frc2/command/Command.cpp index d228b2679b..66de555ca9 100644 --- a/wpilibNewCommands/src/main/native/cpp/frc2/command/Command.cpp +++ b/wpilibNewCommands/src/main/native/cpp/frc2/command/Command.cpp @@ -127,7 +127,7 @@ CommandPtr Command::FinallyDo(std::function end) && { return std::move(*this).ToPtr().FinallyDo(std::move(end)); } -CommandPtr Command::HandleInterrupt(std::function handler) && { +CommandPtr Command::HandleInterrupt(std::function handler) && { return std::move(*this).ToPtr().HandleInterrupt(std::move(handler)); } diff --git a/wpilibNewCommands/src/main/native/cpp/frc2/command/CommandPtr.cpp b/wpilibNewCommands/src/main/native/cpp/frc2/command/CommandPtr.cpp index 10e6d4e06d..6f7e41837a 100644 --- a/wpilibNewCommands/src/main/native/cpp/frc2/command/CommandPtr.cpp +++ b/wpilibNewCommands/src/main/native/cpp/frc2/command/CommandPtr.cpp @@ -209,7 +209,7 @@ CommandPtr CommandPtr::FinallyDo(std::function end) && { [endHandler = std::move(end)](bool interrupted) { endHandler(); }); } -CommandPtr CommandPtr::HandleInterrupt(std::function handler) && { +CommandPtr CommandPtr::HandleInterrupt(std::function handler) && { AssertValid(); return std::move(*this).FinallyDo( [handler = std::move(handler)](bool interrupted) {