diff --git a/test/index/vocabulary/VocabularyInMemoryBinSearchTest.cpp b/test/index/vocabulary/VocabularyInMemoryBinSearchTest.cpp index d2f81d30f2..cec3cd21cc 100644 --- a/test/index/vocabulary/VocabularyInMemoryBinSearchTest.cpp +++ b/test/index/vocabulary/VocabularyInMemoryBinSearchTest.cpp @@ -95,11 +95,6 @@ auto createVocabularyFromDisk(std::string filename) { }; } -auto createVocabularyFromDiskImpl(std::string filename) { - return [c = VocabularyCreator{std::move(filename)}](auto&&... args) mutable { - return c.createVocabularyFromDiskImpl(AD_FWD(args)...); - }; -} } // namespace TEST(VocabularyInMemoryBinSearch, LowerUpperBoundStdLess) { diff --git a/test/index/vocabulary/VocabularyInternalExternalTest.cpp b/test/index/vocabulary/VocabularyInternalExternalTest.cpp index 85a08287b3..23c03b97ec 100644 --- a/test/index/vocabulary/VocabularyInternalExternalTest.cpp +++ b/test/index/vocabulary/VocabularyInternalExternalTest.cpp @@ -88,11 +88,6 @@ auto createVocabularyFromDisk(std::string filename) { }; } -auto createVocabularyFromDiskImpl(std::string filename) { - return [c = VocabularyCreator{std::move(filename)}](auto&&... args) mutable { - return c.createVocabularyFromDiskImpl(AD_FWD(args)...); - }; -} } // namespace TEST(VocabularyInternalExternal, LowerUpperBoundStdLess) { diff --git a/test/index/vocabulary/VocabularyOnDiskTest.cpp b/test/index/vocabulary/VocabularyOnDiskTest.cpp index f199d94809..54fc934f24 100644 --- a/test/index/vocabulary/VocabularyOnDiskTest.cpp +++ b/test/index/vocabulary/VocabularyOnDiskTest.cpp @@ -97,12 +97,6 @@ auto createVocabularyFromDisk(std::string filename) { return c.createVocabularyFromDisk(AD_FWD(args)...); }; } - -auto createVocabularyFromDiskImpl(std::string filename) { - return [c = VocabularyCreator{std::move(filename)}](auto&&... args) mutable { - return c.createVocabularyFromDiskImpl(AD_FWD(args)...); - }; -} } // namespace TEST(VocabularyOnDisk, LowerUpperBoundStdLess) {