[wpiutil] Fix clang-tidy warnings (#5406)

This commit is contained in:
Tyler Veness
2023-06-20 10:55:05 -07:00
committed by GitHub
parent c4dc697192
commit eb3810c765
2 changed files with 2 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ TEST(ScopeExitTest, Release) {
{
wpi::scope_exit exit1{[&] { ++exitCount; }};
wpi::scope_exit exit2 = std::move(exit1);
// NOLINTNEXTLINE (clang-analyzer-cplusplus.Move)
wpi::scope_exit exit3 = std::move(exit1);
EXPECT_EQ(0, exitCount);
}