Not sure if this was meant to be legal or not, but either way this code should have been using const anyway.