This line is not correct. That was the (disabled) copy constructor and it should stay the way it was. The actual constructor is a bit further down.