Skip to content

Commit

Permalink
Move to anonymous namespace for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
joka921 committed Jul 18, 2024
1 parent e741338 commit b8a1daf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
5 changes: 0 additions & 5 deletions test/index/vocabulary/VocabularyInMemoryBinSearchTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 0 additions & 5 deletions test/index/vocabulary/VocabularyInternalExternalTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 0 additions & 6 deletions test/index/vocabulary/VocabularyOnDiskTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b8a1daf

Please sign in to comment.