Assignment returns non-const references.
Missed reference indicator on parameter.
Removed redundant logic.