MCPcopy Create free account
hub / github.com/apache/trafficserver / reset

Method reset

include/tscore/IntrusivePtr.h:538–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536
537template <typename T>
538void
539IntrusivePtr<T>::reset(T *obj)
540{
541 if (obj != m_obj) {
542 this->unset();
543 this->set(obj);
544 }
545}
546
547template <typename T>
548T *

Callers 4

IntrusivePtr.hFile · 0.45
commitMethod · 0.45
_finishCommitMethod · 0.45
executeMethod · 0.45

Calls 2

unsetMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected