From: Chris Lattner Date: Wed, 24 Jul 2002 20:17:22 +0000 (+0000) Subject: Fix problem that GCC3.1 doesn't like. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=60bfeb816a518ce4444632a5f1f3feb9d332f3a2;p=oota-llvm.git Fix problem that GCC3.1 doesn't like. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3050 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Annotation.cpp b/lib/Support/Annotation.cpp index d0d13cda866..e876bf4f38b 100644 --- a/lib/Support/Annotation.cpp +++ b/lib/Support/Annotation.cpp @@ -35,7 +35,7 @@ AnnotationID AnnotationManager::getID(const string &Name) { // Name -> ID // getID - Name -> ID + registration of a factory function for demand driven // annotation support. AnnotationID AnnotationManager::getID(const string &Name, Factory Fact, - void *Data=0) { + void *Data) { AnnotationID Result(getID(Name)); registerAnnotationFactory(Result, Fact, Data); return Result; diff --git a/support/lib/Support/Annotation.cpp b/support/lib/Support/Annotation.cpp index d0d13cda866..e876bf4f38b 100644 --- a/support/lib/Support/Annotation.cpp +++ b/support/lib/Support/Annotation.cpp @@ -35,7 +35,7 @@ AnnotationID AnnotationManager::getID(const string &Name) { // Name -> ID // getID - Name -> ID + registration of a factory function for demand driven // annotation support. AnnotationID AnnotationManager::getID(const string &Name, Factory Fact, - void *Data=0) { + void *Data) { AnnotationID Result(getID(Name)); registerAnnotationFactory(Result, Fact, Data); return Result;