Skip to content

Commit

Permalink
Merge pull request #17 from AntelopeIO/compilation_warnings
Browse files Browse the repository at this point in the history
Fix `-Wsign-compare` compilation warnings
  • Loading branch information
greg7mdp authored Aug 2, 2023
2 parents bffb7eb + 902bdaa commit f45305a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/undo_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,10 @@ EXCEPTION_TEST_CASE(test_modify_fail) {
i0.emplace([](conflict_element_t& elem) { elem.x0 = 71; elem.x1 = 81; elem.x2 = 91; });
BOOST_CHECK_THROW(i0.modify(i0.get(3), [](conflict_element_t& elem) { elem.x0 = 71; elem.x1 = 10; elem.x2 = 91; }), std::logic_error);
}
BOOST_TEST(i0.get<0>().size() == 3);
BOOST_TEST(i0.get<1>().size() == 3);
BOOST_TEST(i0.get<2>().size() == 3);
BOOST_TEST(i0.get<3>().size() == 3);
BOOST_TEST(i0.get<0>().size() == 3u);
BOOST_TEST(i0.get<1>().size() == 3u);
BOOST_TEST(i0.get<2>().size() == 3u);
BOOST_TEST(i0.get<3>().size() == 3u);
BOOST_TEST(i0.find(0)->x0 == 10);
BOOST_TEST(i0.find(1)->x1 == 11);
BOOST_TEST(i0.find(2)->x2 == 12);
Expand Down

0 comments on commit f45305a

Please sign in to comment.