fix prototype of copy assignment operator