Skip to content

Commit 677cc7a

Browse files
committed
Fix template code in ScanDependencies.cpp
1 parent 6dccf3d commit 677cc7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DependencyScan/ScanDependencies.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ static bool diagnoseCycle(CompilerInstance &instance,
13211321
auto emitCycleDiagnostic = [&](const ModuleDependencyID &dep) {
13221322
auto startIt = std::find(openSet.begin(), openSet.end(), dep);
13231323
assert(startIt != openSet.end());
1324-
std::vector cycleNodes(startIt, openSet.end());
1324+
std::vector<ModuleDependencyID> cycleNodes(startIt, openSet.end());
13251325
cycleNodes.push_back(*startIt);
13261326
llvm::SmallString<64> errorBuffer;
13271327
emitModulePath(cycleNodes, errorBuffer);

0 commit comments

Comments
 (0)