Fix build warnings for shadow default assignment operator

These were revealed by paraview dashboard