diff options
| -rw-r--r-- | llvm/include/llvm/DerivedTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/DerivedTypes.h b/llvm/include/llvm/DerivedTypes.h index 0402d469f34..f1cb33039f8 100644 --- a/llvm/include/llvm/DerivedTypes.h +++ b/llvm/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 |

