Move various attributes before the declaration to be compatible with MSVC
[folly.git] / folly / futures / helpers.h
index 3b762732189172297b3c216bf48f91e3beae0052..3b0ef2995767ba05c325e3f2564a07d1d54a5b15 100644 (file)
@@ -85,7 +85,7 @@ auto makeFutureWith(F&& func)
 ///
 ///   auto f = makeFuture<string>(std::current_exception());
 template <class T>
-Future<T> makeFuture(std::exception_ptr const& e) DEPRECATED;
+DEPRECATED Future<T> makeFuture(std::exception_ptr const& e);
 
 /// Make a failed Future from an exception_wrapper.
 template <class T>