Fix compile error in oop.cpp

On Linux I get a compile error in oop.cpp. Attached patch fixes it. I'm not sure why it hasn't been hit before since the file doesn't seem to have been touched for 6 months. Maybe a debug vs release thing?