This "void" is what we will call the "typo". It was intended that this intention would remove the move assignment operator (although this is not strictly necessary, as this will remove the copy constructor). Given that the person wrote "void", it is not surprising that the person also skipped the && part and forgot const in the copy constructor parameter (also not necessary).
Basically, there are a lot of things wrong; someone wrote this in a hurry.
source share