Update CObject.cpp