Set back getErrorMessages() as private
This commit is contained in:
parent
5dc4fcaa0a
commit
e9a696f70e
|
@ -452,6 +452,12 @@ public:
|
|||
|
||||
void check();
|
||||
|
||||
private:
|
||||
|
||||
void functionCallLeak(const Token *loc, const std::string &alloc, const std::string &functionCall);
|
||||
|
||||
void missingAssignementLeak(const Token *loc, const std::string &alloc);
|
||||
|
||||
void getErrorMessages(ErrorLogger *e, const Settings *settings) const {
|
||||
CheckMemoryLeakNoVar c(0, settings, e);
|
||||
|
||||
|
@ -459,12 +465,6 @@ public:
|
|||
c.missingAssignementLeak(0, "funcName");
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
void functionCallLeak(const Token *loc, const std::string &alloc, const std::string &functionCall);
|
||||
|
||||
void missingAssignementLeak(const Token *loc, const std::string &alloc);
|
||||
|
||||
std::string myName() const {
|
||||
return "Memory leaks (address not taken)";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue