Rename private member variables
This commit is contained in:
parent
e962f57a99
commit
9717a5afad
|
@ -34,22 +34,22 @@
|
||||||
namespace {
|
namespace {
|
||||||
class FindToken {
|
class FindToken {
|
||||||
public:
|
public:
|
||||||
explicit FindToken(const Token *t) : token(t) {}
|
explicit FindToken(const Token *token) : mToken(token) {}
|
||||||
bool operator()(const TemplateSimplifier::TokenAndName &t) const {
|
bool operator()(const TemplateSimplifier::TokenAndName &tokenAndName) const {
|
||||||
return t.token == token;
|
return tokenAndName.token == mToken;
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
const Token * const token;
|
const Token * const mToken;
|
||||||
};
|
};
|
||||||
|
|
||||||
class FindName {
|
class FindName {
|
||||||
public:
|
public:
|
||||||
explicit FindName(const std::string &s) : name(s) {}
|
explicit FindName(const std::string &name) : mName(name) {}
|
||||||
bool operator()(const TemplateSimplifier::TokenAndName &t) const {
|
bool operator()(const TemplateSimplifier::TokenAndName &tokenAndName) const {
|
||||||
return t.name == name;
|
return tokenAndName.name == mName;
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
const std::string name;
|
const std::string mName;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue