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
This commit is contained in:
Chris Lattner 2002-07-24 20:17:22 +00:00
parent faba809472
commit 60bfeb816a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;