diff --git a/wpiutil/src/main/native/include/wpi/future.h b/wpiutil/src/main/native/include/wpi/future.h index 5cb4a8d5d6..70dc60f2ab 100644 --- a/wpiutil/src/main/native/include/wpi/future.h +++ b/wpiutil/src/main/native/include/wpi/future.h @@ -334,7 +334,7 @@ class future final { } } - template ::type> + template > future then(F&& func) { return then(PromiseFactory::GetInstance(), std::forward(func)); } @@ -457,7 +457,7 @@ class future final { } } - template ::type> + template > future then(F&& func) { return then(PromiseFactory::GetInstance(), std::forward(func)); }