From 9717a5afadcb78379b227a922a6952bbbfedb089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 17 Jun 2018 19:24:40 +0200 Subject: [PATCH] Rename private member variables --- lib/templatesimplifier.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 3dea9340d..09db58e17 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -34,22 +34,22 @@ namespace { class FindToken { public: - explicit FindToken(const Token *t) : token(t) {} - bool operator()(const TemplateSimplifier::TokenAndName &t) const { - return t.token == token; + explicit FindToken(const Token *token) : mToken(token) {} + bool operator()(const TemplateSimplifier::TokenAndName &tokenAndName) const { + return tokenAndName.token == mToken; } private: - const Token * const token; + const Token * const mToken; }; class FindName { public: - explicit FindName(const std::string &s) : name(s) {} - bool operator()(const TemplateSimplifier::TokenAndName &t) const { - return t.name == name; + explicit FindName(const std::string &name) : mName(name) {} + bool operator()(const TemplateSimplifier::TokenAndName &tokenAndName) const { + return tokenAndName.name == mName; } private: - const std::string name; + const std::string mName; }; }