Return reference to current object from operator=

This commit is contained in:
Simon Richter
2018-09-21 05:03:30 -07:00
committed by Seth Hillbrand
parent 0be52a68fe
commit e985f797c3
+1
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