From 2655e6fd2e24089004125dd9f44c5cfa25f1845b Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 15 Jun 2016 18:48:35 +0000 Subject: [PATCH] [codeview] Use ArrayRef instead of a non-const vector reference llvm-svn: 272817 --- include/llvm/DebugInfo/CodeView/TypeRecord.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/DebugInfo/CodeView/TypeRecord.h b/include/llvm/DebugInfo/CodeView/TypeRecord.h index b47d5423e0b..59febb7b464 100644 --- a/include/llvm/DebugInfo/CodeView/TypeRecord.h +++ b/include/llvm/DebugInfo/CodeView/TypeRecord.h @@ -1103,7 +1103,7 @@ private: // LF_METHODLIST class MethodOverloadListRecord : public TypeRecord { public: - MethodOverloadListRecord(std::vector &Methods) + MethodOverloadListRecord(ArrayRef Methods) : TypeRecord(TypeRecordKind::MethodOverloadList), Methods(Methods) {} /// Rewrite member type indices with IndexMap. Returns false if a type index