clang-tidy: Use = delete

This commit is contained in:
Regina Pfeifer
2019-01-23 20:30:01 +01:00
committed by Brad King
parent d75fec5a88
commit b05b778a2d
58 changed files with 209 additions and 139 deletions

View File

@@ -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.