#1 2021-10-21 12:57:15

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 223
Website

Implicit string cast from 'Variant' to 'UTF8String'

Hi Arnaud,

small thing: [dcc32 Warning] mormot.soa.codegen.pas(1131): W1057 Implicit string cast from 'Variant' to 'UTF8String'
Method: TWrapperContext.AddUnit
Snippet:

  if addAsProperty <> nil then
    _ObjAddPropU('unitName', >>>>> unitName <<<<<, addAsProperty^);

Regards,
Daniel

Offline

#2 2021-10-23 09:15:46

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 223
Website

Re: Implicit string cast from 'Variant' to 'UTF8String'

Still there ;-)

Offline

#3 2021-11-02 20:11:43

tbo
Member
Registered: 2015-04-20
Posts: 335

Re: Implicit string cast from 'Variant' to 'UTF8String'

sakura wrote:

Still there ;-)

+1, commit b89c88b

With best regards
Thomas

Offline

#4 2021-11-03 13:37:38

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: Implicit string cast from 'Variant' to 'UTF8String'

Should be fixed now.

Sorry for the delay.

Offline

Board footer

Powered by FluxBB