From dfa8a2e67c4946c3e726d8965328fff7397b0a3d Mon Sep 17 00:00:00 2001 From: danmar Date: Fri, 14 Aug 2009 12:46:55 +0200 Subject: [PATCH] Visual C++: Fixed testrunner compilation problems --- src/checkmemoryleak.h | 2 ++ src/tokenize.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/checkmemoryleak.h b/src/checkmemoryleak.h index 9daef207a..fb090d899 100644 --- a/src/checkmemoryleak.h +++ b/src/checkmemoryleak.h @@ -148,7 +148,9 @@ public: void check(); +#ifndef UNIT_TESTING private: +#endif bool matchFunctionsThatReturnArg(const Token *tok, const std::string &varname); diff --git a/src/tokenize.h b/src/tokenize.h index 23c75a02b..71e65423c 100644 --- a/src/tokenize.h +++ b/src/tokenize.h @@ -112,7 +112,9 @@ public: */ std::map _classInfoList; +#ifndef UNIT_TESTING private: +#endif /** * Simplify variable declarations