Sfoglia il codice sorgente

refactor: missed unused variable

Sam Jaffe 2 mesi fa
parent
commit
e978976594
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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));