Set back getErrorMessages() as private

This commit is contained in:
Pierre Schweitzer 2012-03-15 18:52:51 +01:00
parent 5dc4fcaa0a
commit e9a696f70e
1 changed files with 6 additions and 6 deletions

View File

@ -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)";
}