From 60bfeb816a518ce4444632a5f1f3feb9d332f3a2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 24 Jul 2002 20:17:22 +0000 Subject: [PATCH] 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 --- lib/Support/Annotation.cpp | 2 +- support/lib/Support/Annotation.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;