MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / CoroLockGuard

Method CoroLockGuard

IntelPresentMon/CommonUtilities/pipe/CoroMutex.cpp:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46 CoroLockGuard::CoroLockGuard(CoroLockGuard&& other)
47 : pMtx_{ std::exchange(other.pMtx_, nullptr) }
48 {}
49 CoroLockGuard& CoroLockGuard::operator=(CoroLockGuard&& rhs)
50 {
51 pMtx_ = std::exchange(rhs.pMtx_, nullptr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected