Browse Source

refactor: missed unused variable

Sam Jaffe 2 tháng trước cách đây
mục cha
commit
e978976594
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      test/recursive_iterator_mixed_container_test.cxx

+ 0 - 1
test/recursive_iterator_mixed_container_test.cxx

@@ -80,7 +80,6 @@ TEST(RecursiveIteratorMapVecMapTest, ElementsAreUnwrappedAsATuple) {
   std::map<int, std::vector<std::map<int, int>>> const obj{
       {1, {{{1, 1}, {2, 2}}}}};
   std::vector<std::tuple<int, int, int>> const expected{{1, 1, 1}, {1, 2, 2}};
-  auto rit = recursive_iterator(obj);
 
   EXPECT_THAT(obj | views::recursive | ranges::to<std::vector>(),
               ElementsAreArray(expected));