Pass parameters by const reference rather than by value

This commit is contained in:
Paul Cornett
2019-04-05 09:18:07 -07:00
parent d52acfe469
commit 365759753a
8 changed files with 17 additions and 17 deletions

View File

@@ -428,7 +428,7 @@ public:
virtual bool DoShowDialog( wxPropertyGrid* propGrid,
wxPGProperty* property ) = 0;
void SetValue( wxVariant value )
void SetValue( const wxVariant& value )
{
m_value = value;
}