Compile problems with current cvs

Angus Leeming leeming at lyx.org
Fri Apr 22 00:19:51 CEST 2005


Christian Ehrlicher wrote:
>> Here's a (probably sub-optimal) fix. Looks to me like someone should
>> rethink slashify and reslashify so that they have signatures
>> 
>> QString slashify( QString const & );
>> QString reslashify( QString const & );

> Thx, msvc didn't tell me that this isn't correct.

Hi, Christian. I see that you checked in a fix.
Here's the fix to the fix :)

(You're returning a reference to a temporary, which is never a good thing.)

Angus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: qfiledialog_win_cpp.diff
Type: text/x-diff
Size: 713 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-cygwin/attachments/20050422/ea53de19/qfiledialog_win_cpp.bin


More information about the kde-cygwin mailing list