Return reference to current object from operator=
This commit is contained in:
parent
0be52a68fe
commit
e985f797c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue