Fixed compilation error

Failed to override ==