Re: [Lazarus] Add 'const' to func params
On Tue, Apr 30, 2019 at 3:39 PM AlexeyT via lazarus wrote: > > lcl/clipbrd.pp > > procedure SetAsHtml(Html: String); > procedure SetAsHtml(Html: String; const PlainText: String); This would force us to make a copy of the HTML parameter, since it can get modified in the procedure. So, it makes no sense to me. Bart -- Bart -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Add 'const' to func params
lcl/clipbrd.pp procedure SetAsHtml(Html: String); procedure SetAsHtml(Html: String; const PlainText: String); -- Regards, Alexey -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus