关于warning C4239的问题【必加分!】
写了一段代码如下:
protected:
bool OpenTestReport(wxString & sReportName=wxString());
出现如下warning:
warning C4239: nonstandard extension used : 'default argument' : conversion from 'class wxString' to 'class wxString &'
A reference that is not to 'const' cannot be bound to a non-lvalue
请问怎么解决,谢谢!