Renamed _suffixes

This commit is contained in:
Daniel Marjamäki 2018-06-17 13:47:18 +02:00
parent 153838c254
commit fa8911a7d2
1 changed files with 3 additions and 3 deletions

View File

@ -446,18 +446,18 @@ private:
mPrefixes.insert(prefix);
}
void addSuffix(const std::string& suffix) {
_suffixes.insert(suffix);
mSuffixes.insert(suffix);
}
bool isPrefix(const std::string& prefix) const {
return (mPrefixes.find(prefix) != mPrefixes.end());
}
bool isSuffix(const std::string& suffix) const {
return (_suffixes.find(suffix) != _suffixes.end());
return (mSuffixes.find(suffix) != mSuffixes.end());
}
private:
std::set<std::string> mPrefixes;
std::set<std::string> _suffixes;
std::set<std::string> mSuffixes;
};
class CodeBlock {
public: