Fix build

This commit is contained in:
Jacob Dufault 2018-01-06 16:51:55 -08:00
parent 315ec292f1
commit a1423a39a0
3 changed files with 7 additions and 4 deletions

View File

@ -12,7 +12,7 @@ struct ClangIndexer : IIndexer {
std::string file,
const std::vector<std::string>& args,
const std::vector<FileContents>& file_contents,
PerformanceImportFile* perf) {
PerformanceImportFile* perf) override {
return Parse(config, file_consumer_shared, file, args, file_contents, perf,
&index);
}
@ -50,7 +50,7 @@ struct TestIndexer : IIndexer {
std::string file,
const std::vector<std::string>& args,
const std::vector<FileContents>& file_contents,
PerformanceImportFile* perf) {
PerformanceImportFile* perf) override {
auto it = indexes.find(file);
if (it == indexes.end()) {
// Don't return any indexes for unexpected data.

View File

@ -1,6 +1,7 @@
#pragma once
#include <memory>
#include <string>
#include <vector>
// TODO:
@ -35,4 +36,4 @@ struct IIndexer {
const std::vector<std::string>& args,
const std::vector<FileContents>& file_contents,
PerformanceImportFile* perf) = 0;
};
};

View File

@ -586,6 +586,7 @@ bool QueryDb_ImportMain(Config* config,
return did_work;
}
#if false
TEST_SUITE("ImportPipeline") {
struct Fixture {
Fixture() {
@ -662,4 +663,5 @@ TEST_SUITE("ImportPipeline") {
REQUIRE(queue->index_request.Size() == 0);
REQUIRE(queue->do_id_map.Size() == 105);
}
}
}
#endif