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

@@ -71,12 +71,13 @@ private:
class cmServerProtocol
{
CM_DISABLE_COPY(cmServerProtocol)
public:
cmServerProtocol() = default;
virtual ~cmServerProtocol() = default;
cmServerProtocol(cmServerProtocol const&) = delete;
cmServerProtocol& operator=(cmServerProtocol const&) = delete;
virtual std::pair<int, int> ProtocolVersion() const = 0;
virtual bool IsExperimental() const = 0;
virtual const cmServerResponse Process(const cmServerRequest& request) = 0;