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 cef7ec192d..0402d469f3 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -167,7 +167,7 @@ public: const Type *Result, ///< The result type bool isVarArg ///< Whether this is a variable argument length function ) { - return get(Result, std::vector<const Type *>(), isVarArg); + return get(Result, ArrayRef<const Type *>(), isVarArg); } /// isValidReturnType - Return true if the specified type is valid as a return |