mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -06:00
clang-tidy: Use = delete
This commit is contained in:
committed by
Brad King
parent
d75fec5a88
commit
b05b778a2d
@@ -13,12 +13,13 @@ class cmFileLockResult;
|
||||
|
||||
class cmFileLockPool
|
||||
{
|
||||
CM_DISABLE_COPY(cmFileLockPool)
|
||||
|
||||
public:
|
||||
cmFileLockPool();
|
||||
~cmFileLockPool();
|
||||
|
||||
cmFileLockPool(cmFileLockPool const&) = delete;
|
||||
cmFileLockPool& operator=(cmFileLockPool const&) = delete;
|
||||
|
||||
//@{
|
||||
/**
|
||||
* @brief Function scope control.
|
||||
@@ -58,12 +59,13 @@ private:
|
||||
|
||||
class ScopePool
|
||||
{
|
||||
CM_DISABLE_COPY(ScopePool)
|
||||
|
||||
public:
|
||||
ScopePool();
|
||||
~ScopePool();
|
||||
|
||||
ScopePool(ScopePool const&) = delete;
|
||||
ScopePool& operator=(ScopePool const&) = delete;
|
||||
|
||||
cmFileLockResult Lock(const std::string& filename,
|
||||
unsigned long timeoutSec);
|
||||
cmFileLockResult Release(const std::string& filename);
|
||||
|
||||
Reference in New Issue
Block a user