Commit 5cfeab7b authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Fix -Werror,-Wunused-result

Summary: Fix -Werror,-Wunused-result

Reviewed By: ispeters

Differential Revision: D31786026

fbshipit-source-id: 51af8e21a02f9d6f476d0cb79eb7c6d38f545f20
parent 0f877ebd
......@@ -254,7 +254,7 @@ TEST(Future, hasPostconditionValid) {
DOIT(f.raise(std::logic_error("foo")));
DOIT(f.cancel());
DOIT(f.wait());
DOIT(std::move(f.wait()));
DOIT(std::move(f).wait());
#undef DOIT
}
......
......@@ -204,7 +204,7 @@ TEST(SemiFuture, hasPostconditionValid) {
DOIT(f.raise(std::logic_error("foo")));
DOIT(f.cancel());
DOIT(f.wait());
DOIT(std::move(f.wait()));
DOIT(std::move(f).wait());
#undef DOIT
}
......
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