mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-05 14:49:39 -06:00
clang-tidy: Use = delete
This commit is contained in:
committed by
Brad King
parent
d75fec5a88
commit
b05b778a2d
@@ -21,12 +21,13 @@ class cmFileLockResult;
|
||||
*/
|
||||
class cmFileLock
|
||||
{
|
||||
CM_DISABLE_COPY(cmFileLock)
|
||||
|
||||
public:
|
||||
cmFileLock();
|
||||
~cmFileLock();
|
||||
|
||||
cmFileLock(cmFileLock const&) = delete;
|
||||
cmFileLock& operator=(cmFileLock const&) = delete;
|
||||
|
||||
/**
|
||||
* @brief Lock the file.
|
||||
* @param timeoutSec Lock timeout. If -1 try until success or fatal error.
|
||||
|
||||
Reference in New Issue
Block a user