|Subject:||Re: IdThreadSafe constructor warning|
|Posted by:||Chad Z. Hower aka Kudzu (cp…@hower.org)|
|Date:||Fri, 29 Oct 2004|
"Bojan Mijuskovic" <bigmix AT europe.com> wrote in
news:57210C5623B2E240bigmix AT europe.com:
> Just after the compilation of rev. 1.9 of IdThreadSafe unit I got a warning
> about constructor:
> "Method 'Create' hides virtual method of base type 'TThreadSafe'" in line
> 152 (class TIdThreadSafeStringList).
> Platform is Delphi8. I added "reintroduce" directive to get rid of the
> warning. Maybe somebody from Indy team could update source base, it would
> be appreciated.
Reintroduce is incorrect, it tells the compiler to suppress the warning and
allow you to hide it. I added an override which is what should have been
there. Its checked in now, thanks for the heads up.
IdThreadSafe constructor warning posted by Bojan Mijuskovic on Fri, 29 Oct 2004