(Wangle) Clean up move constructors
[folly.git] / folly / futures / Promise.h
index 1412577ff58ee79f04281b2fed82be34b519d0f3..a223db0b4a771fe7bd5e028c089e7b3123d327dc 100644 (file)
@@ -36,8 +36,8 @@ public:
   Promise& operator=(Promise const&) = delete;
 
   // movable
-  Promise(Promise<T>&&);
-  Promise& operator=(Promise<T>&&);
+  Promise(Promise<T>&&) noexcept;
+  Promise& operator=(Promise<T>&&) noexcept;
 
   /** Return a Future tied to the shared core state. This can be called only
     once, thereafter Future already retrieved exception will be raised. */