diff options
-rw-r--r-- | include/llvm/DerivedTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 0402d469f3..f1cb33039f 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -250,7 +250,7 @@ public: /// StructType::get - Create an empty structure type. /// static StructType *get(LLVMContext &Context, bool isPacked=false) { - return get(Context, std::vector<const Type*>(), isPacked); + return get(Context, llvm::ArrayRef<const Type*>(), isPacked); } /// StructType::get - This static method is a convenience method for |