Skip to content

Commit

Permalink
fix(cxx_indexer): fix dangling reference (#5039)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalandro committed Aug 18, 2021
1 parent 96ed0a4 commit 8c0140b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kythe/cxx/indexer/textproto/analyzer.cc
Expand Up @@ -830,7 +830,7 @@ std::string FullPathToRelative(
absl::Status AnalyzeCompilationUnit(const proto::CompilationUnit& unit,
const std::vector<proto::FileData>& files,
KytheGraphRecorder* recorder) {
PluginLoadCallback nil_loader = [](const google::protobuf::Message& proto)
auto nil_loader = [](const google::protobuf::Message& proto)
-> std::vector<std::unique_ptr<Plugin>> { return {}; };
return AnalyzeCompilationUnit(nil_loader, unit, files, recorder);
}
Expand Down

0 comments on commit 8c0140b

Please sign in to comment.