TStrings.Add needs "virtual" modifier
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
In Delphi the TStrings.Add function is declared as virtual. When I try to compile my code which overrides this method I get the error:
There is no method in an ancestor class to be overridden.
Please check that TStrings.Delete is also virtual!
Additional information:
Reporter: Geoffrey A Swift
EMail: blimey at toke dot com
Mantis conversion info:
- Mantis ID: 2752
- OS: Linux
- Version: ?
- Fixed in version: 0.99.13