Commit 0498579d authored by Hans Fugal's avatar Hans Fugal Committed by Nicholas Ormrod

(wangle) noexcept move constructor

Summary: to make lint happy

Test Plan: builds

Reviewed By: hannesr@fb.com

Subscribers: net-systems@, fugalh, exa

FB internal diff: D1406766

Tasks: 4480567
parent b20a9545
...@@ -32,7 +32,7 @@ struct isFuture<Future<T> > { ...@@ -32,7 +32,7 @@ struct isFuture<Future<T> > {
}; };
template <class T> template <class T>
Future<T>::Future(Future<T>&& other) : obj_(other.obj_) { Future<T>::Future(Future<T>&& other) noexcept : obj_(other.obj_) {
other.obj_ = nullptr; other.obj_ = nullptr;
} }
......
...@@ -41,7 +41,7 @@ class Future { ...@@ -41,7 +41,7 @@ class Future {
Future& operator=(Future const&) = delete; Future& operator=(Future const&) = delete;
// movable // movable
Future(Future&&); Future(Future&&) noexcept;
Future& operator=(Future&&); Future& operator=(Future&&);
~Future(); ~Future();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment