mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpiutil] Fix clang-tidy warnings (#5406)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user