remove extra friend class declaration

friend statement must refer to class not to struct.