explicit instantiation of common Future types
[folly.git] / folly / futures / helpers.h
index 97c418d171f9dc5383c9993dd0a7909b363c42be..744a01aca40b6110cf8172bd54d10ae35b8ed052 100644 (file)
@@ -131,8 +131,7 @@ Future<T> makeFuture(Try<T>&& t);
  *
  * @returns a void Future that will call back on the given executor
  */
-template <typename Executor>
-Future<void> via(Executor* executor);
+inline Future<void> via(Executor* executor);
 
 /** When all the input Futures complete, the returned Future will complete.
   Errors do not cause early termination; this Future will always succeed