diff options
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp index f19535d1180..9334d2a6a23 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp @@ -56,7 +56,7 @@ Error InfoStream::reload() { uint32_t InfoStream::getNamedStreamIndex(llvm::StringRef Name) const { uint32_t Result; - if (!NamedStreams.tryGetValue(Name, Result)) + if (!NamedStreams.get(Name, Result)) return 0; return Result; } |