bool CachedObjectMgr::HaveCached(const std::string &objectID) const { //this is very sub-optimal, but it keeps things more consistent (in case StringCollapseVisitor ever gets more complicated) PyString *str = new PyString( objectID ); bool ret = HaveCached(str); PyDecRef(str); return ret; }
bool CachedObjectMgr::HaveCached(const std::string &objectID) const { //this is very sub-optimal, but it keeps things more consistent (in case StringCollapseVisitor ever gets more complicated) PyString str( objectID ); return(HaveCached(&str)); }