Unverified Commit 262ce37e authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

silence compiler warning

parent 894a7e4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -297,7 +297,7 @@ TEST_F(SimpleCommandsTest, Units)
    ASSERT_EQ(num, sizeof(dt) / sizeof(double));

    ASSERT_THAT(lmp->update->unit_style, StrEq("lj"));
    for (int i = 0; i < num; ++i) {
    for (std::size_t i = 0; i < num; ++i) {
        if (!verbose) ::testing::internal::CaptureStdout();
        lmp->input->one(fmt::format("units {}", names[i]));
        if (!verbose) ::testing::internal::GetCapturedStdout();