Re: How to write pAttrList->add(XML_typeface, OString());

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Caolán,

thanks. The first option works.

Kind regards,
Regina

Caolán McNamara schrieb am 20.05.2023 um 20:47:
On Sat, 2023-05-20 at 20:33 +0200, Regina Henschel wrote:
Hi all,

linux_clang_dbgutil_64 does not like

pAttrList->add(XML_typeface, OString());

and says, that I have to use std::string_view instead of OString.
But I don't know how to write it.

I imagine
  pAttrList->add(XML_typeface, "");
or
  pAttrList->add(XML_typeface, std::string_view());
will work. First one is probably preferable.





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux