Remove copy-paste
Indentation
Replace pointer with const reference
Remove duplicated initialization, replace memset with default constructor