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