diff --git a/base/inc/TSystemDirectory.h b/base/inc/TSystemDirectory.h index 50542cc0cffd436a64b6f2690df39264ebdb4c79..b1deac27a3b00831f245903b158219334381e91a 100644 --- a/base/inc/TSystemDirectory.h +++ b/base/inc/TSystemDirectory.h @@ -1,4 +1,4 @@ -// @(#)root/base:$Name: $:$Id: TSystemDirectory.h,v 1.8 2005/06/02 16:28:27 brun Exp $ +// @(#)root/base:$Name: $:$Id: TSystemDirectory.h,v 1.9 2006/05/23 04:47:35 brun Exp $ // Author: Christian Bormann 13/10/97 /************************************************************************* @@ -65,8 +65,8 @@ public: void DrawClass() const { } TObject *DrawClone(Option_t *) const { return 0; } void SetDrawOption(Option_t *) { } - void SetName(const char *) { } - void SetTitle(const char *) { } + void SetName(const char *name) { TSystemFile::SetName(name); } + void SetTitle(const char *title) { TSystemFile::SetTitle(title); } void Delete(Option_t *) { } void Copy(TObject & ) const { } ClassDef(TSystemDirectory,0) //A system directory diff --git a/base/inc/TSystemFile.h b/base/inc/TSystemFile.h index 546f8d949ea7b114ab738e488c80633db73d1761..9cf3bb4e1bf93497c805692494295b0cbbecdfdc 100644 --- a/base/inc/TSystemFile.h +++ b/base/inc/TSystemFile.h @@ -1,4 +1,4 @@ -// @(#)root/base:$Name: $:$Id: TSystemFile.h,v 1.3 2005/05/24 20:05:10 brun Exp $ +// @(#)root/base:$Name: $:$Id: TSystemFile.h,v 1.4 2005/05/30 10:21:14 rdm Exp $ // Author: Rene Brun 26/06/96 /************************************************************************* @@ -54,8 +54,8 @@ public: void DrawClass() const { } TObject *DrawClone(Option_t *) const { return 0; } void SetDrawOption(Option_t *) { } - void SetName(const char *) { } - void SetTitle(const char *) { } + void SetName(const char *name) { TNamed::SetName(name); } + void SetTitle(const char *title) { TNamed::SetTitle(title); } void Delete(Option_t *) { } void Copy(TObject & ) const { }