Return reference to current object from operator=

This commit is contained in:
Simon Richter 2018-09-21 13:12:59 +02:00 committed by Seth Hillbrand
parent 0be52a68fe
commit e985f797c3
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ struct TOOL_MANAGER::TOOL_STATE
transitions = aState.transitions;
vcSettings = aState.vcSettings;
// do not copy stateStack
return *this;
}
bool operator==( const TOOL_MANAGER::TOOL_STATE& aRhs ) const