From: Douglas Gregor Date: Wed, 3 Mar 2010 00:29:43 +0000 (+0000) Subject: Initialize your storage, dummy X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4687ef4b9c72e1c476fce27d0abc1a2f78f739c;p=clang Initialize your storage, dummy git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97615 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index c023ec0cde..6767f52f4d 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -79,6 +79,8 @@ class CXXMethodVector { typedef std::vector vector_type; public: + CXXMethodVector() : Storage(0) { } + typedef const CXXMethodDecl **iterator; iterator begin() const; iterator end() const;