Browse Source

Return reference to current object from operator=

pull/13/head
Simon Richter 7 years ago
committed by Seth Hillbrand
parent
commit
e985f797c3
  1. 1
      common/tool/tool_manager.cpp

1
common/tool/tool_manager.cpp

@ -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…
Cancel
Save