MCPcopy Create free account
hub / github.com/Snapchat/Valdi / swap

Method swap

third-party/jscore/include/JavaScriptCore/JSRetainPtr.h:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174template<typename T> inline void JSRetainPtr<T>::swap(JSRetainPtr<T>& o)
175{
176 std::swap(m_ptr, o.m_ptr);
177}
178
179template<typename T> inline void swap(JSRetainPtr<T>& a, JSRetainPtr<T>& b)
180{

Callers 3

swapFunction · 0.45
tl_expected.hppFile · 0.45
swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected