Pass parameters by const reference rather than by value
This commit is contained in:
@@ -1736,7 +1736,7 @@ public:
|
||||
|
||||
// Helper function (for wxPython bindings and such) for settings protected
|
||||
// m_value.
|
||||
void SetValuePlain( wxVariant value )
|
||||
void SetValuePlain( const wxVariant& value )
|
||||
{
|
||||
m_value = value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user