diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp b/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp index ea16c0a6c671..28098373bf33 100644 --- a/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp +++ b/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp @@ -123,11 +123,11 @@ Error DebugLinesSubsection::commit(BinaryStreamWriter &Writer) const { if (auto EC = Writer.writeObject(BlockHeader)) return EC; - if (auto EC = Writer.writeArray(makeArrayRef(B.Lines))) + if (auto EC = Writer.writeArray(ArrayRef(B.Lines))) return EC; if (hasColumnInfo()) { - if (auto EC = Writer.writeArray(makeArrayRef(B.Columns))) + if (auto EC = Writer.writeArray(ArrayRef(B.Columns))) return EC; } } |