Function RefCountedObject.addRef

increments reference counter

void addRef();