Commit 0525207e authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Sara Golemon

Fix Build: folly/io/async/test/ScopedEventBasedThreadTest.cpp

Summary: [Folly] Fix Build: folly/io/async/test/ScopedEventBasedThreadTest.cpp

Failure with latest clang:

    folly/io/async/test/ScopedEventBaseThreadTest.cpp:72:8: error: explicitly moving variable of type 'folly::ScopedEventBaseThread' to itself [-Werror,-Wself-move]
      sebt = std::move(sebt);

Reviewed By: @markisaa

Differential Revision: D2238762
parent e20eed09
......@@ -68,8 +68,8 @@ TEST_F(ScopedEventBaseThreadTest, move) {
}
TEST_F(ScopedEventBaseThreadTest, self_move) {
ScopedEventBaseThread sebt;
sebt = std::move(sebt);
ScopedEventBaseThread sebt0;
auto sebt = std::move(sebt0);
EXPECT_NE(nullptr, sebt.getEventBase());
......
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