Move various attributes before the declaration to be compatible with MSVC
[folly.git] / folly / futures / SharedPromise.h
index 1d5670cde2efa5f4bc27f4712de08bb159102edb..5fecffca8af4f7fc34f27def8228eb0a670ca49d 100644 (file)
@@ -64,7 +64,7 @@ public:
       p.setException(std::current_exception());
     }
     */
-  void setException(std::exception_ptr const&) DEPRECATED;
+  DEPRECATED void setException(std::exception_ptr const&);
 
   /** Fulfill the SharedPromise with an exception type E, which can be passed to
     std::make_exception_ptr(). Useful for originating exceptions. If you