DolphinWX: Pass string by const reference in CISOProperties constructor
This commit is contained in:
parent
7b7d1b0dcf
commit
b8706791d5
|
@ -99,7 +99,7 @@ BEGIN_EVENT_TABLE(CISOProperties, wxDialog)
|
|||
EVT_CHOICE(ID_LANG, CISOProperties::OnChangeBannerLang)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& position, const wxSize& size, long style)
|
||||
CISOProperties::CISOProperties(const std::string& fileName, wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& position, const wxSize& size, long style)
|
||||
: wxDialog(parent, id, title, position, size, style)
|
||||
{
|
||||
// Load ISO data
|
||||
|
|
|
@ -51,7 +51,7 @@ struct PHackData
|
|||
class CISOProperties : public wxDialog
|
||||
{
|
||||
public:
|
||||
CISOProperties(const std::string fileName,
|
||||
CISOProperties(const std::string& fileName,
|
||||
wxWindow* parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
const wxString& title = _("Properties"),
|
||||
|
|
Loading…
Reference in New Issue