MCPcopy Create free account
hub / github.com/Kitware/CMake / ~cmFileLock

Method ~cmFileLock

Source/cmFileLock.cxx:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22cmFileLock::~cmFileLock()
23{
24 if (!this->Filename.empty()) {
25 cmFileLockResult const result = this->Release();
26 static_cast<void>(result);
27 assert(result.IsOk());
28 }
29}
30
31cmFileLock& cmFileLock::operator=(cmFileLock&& other) noexcept
32{

Callers

nothing calls this directly

Calls 3

ReleaseMethod · 0.95
IsOkMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected