fixed signatures of deleted `operator=` (#5831)
This commit is contained in:
parent
93a53af168
commit
6ef3224bd4
|
@ -49,7 +49,7 @@ public:
|
|||
*/
|
||||
CppCheckExecutor() = default;
|
||||
CppCheckExecutor(const CppCheckExecutor &) = delete;
|
||||
void operator=(const CppCheckExecutor&) = delete;
|
||||
CppCheckExecutor& operator=(const CppCheckExecutor&) = delete;
|
||||
|
||||
/**
|
||||
* Starts the checking.
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
virtual ~Executor() = default;
|
||||
|
||||
Executor(const Executor &) = delete;
|
||||
void operator=(const Executor &) = delete;
|
||||
Executor& operator=(const Executor &) = delete;
|
||||
|
||||
virtual unsigned int check() = 0;
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ class ProcessExecutor : public Executor {
|
|||
public:
|
||||
ProcessExecutor(const std::list<std::pair<std::string, std::size_t>> &files, const std::list<FileSettings>& fileSettings, const Settings &settings, Suppressions &suppressions, ErrorLogger &errorLogger, CppCheck::ExecuteCmdFn executeCommand);
|
||||
ProcessExecutor(const ProcessExecutor &) = delete;
|
||||
void operator=(const ProcessExecutor &) = delete;
|
||||
ProcessExecutor& operator=(const ProcessExecutor &) = delete;
|
||||
|
||||
unsigned int check() override;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class SingleExecutor : public Executor
|
|||
public:
|
||||
SingleExecutor(CppCheck &cppcheck, const std::list<std::pair<std::string, std::size_t>> &files, const std::list<FileSettings>& fileSettings, const Settings &settings, Suppressions &suppressions, ErrorLogger &errorLogger);
|
||||
SingleExecutor(const SingleExecutor &) = delete;
|
||||
void operator=(const SingleExecutor &) = delete;
|
||||
SingleExecutor& operator=(const SingleExecutor &) = delete;
|
||||
|
||||
unsigned int check() override;
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ class ThreadExecutor : public Executor {
|
|||
public:
|
||||
ThreadExecutor(const std::list<std::pair<std::string, std::size_t>> &files, const std::list<FileSettings>& fileSettings, const Settings &settings, Suppressions &suppressions, ErrorLogger &errorLogger, CppCheck::ExecuteCmdFn executeCommand);
|
||||
ThreadExecutor(const ThreadExecutor &) = delete;
|
||||
void operator=(const ThreadExecutor &) = delete;
|
||||
ThreadExecutor& operator=(const ThreadExecutor &) = delete;
|
||||
|
||||
unsigned int check() override;
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ private:
|
|||
public:
|
||||
CheckMemoryLeak() = delete;
|
||||
CheckMemoryLeak(const CheckMemoryLeak &) = delete;
|
||||
void operator=(const CheckMemoryLeak &) = delete;
|
||||
CheckMemoryLeak& operator=(const CheckMemoryLeak &) = delete;
|
||||
|
||||
CheckMemoryLeak(const Tokenizer *t, ErrorLogger *e, const Settings *s)
|
||||
: mTokenizer_(t), mErrorLogger_(e), mSettings_(s) {}
|
||||
|
|
Loading…
Reference in New Issue