[Interest] error: taking address of temporary [-fpermissive]

Thiago Macieira thiago.macieira at intel.com
Fri Jun 1 21:05:21 CEST 2012


On sexta-feira, 1 de junho de 2012 11.54.44, John Weeks wrote:
> QString enter_invoice_in::sqlFormatString(QDate *date);
> 
> to
> 
> QString enter_invoice_in::sqlFormatString(const QDate *date);

Suggestion:

const QDate &date

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120601/472518ad/attachment.sig>


More information about the Interest mailing list