Replace std::set::emplace with std::set::insert to make Cppcheck compilable in Slackware 14.0

This commit is contained in:
Daniel Marjamäki 2019-01-05 18:18:15 +01:00
parent 5f5c33baf2
commit 36ffa91825
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@ public:
return mImpl->mTemplateSimplifierPointers;
}
void templateSimplifierPointer(TemplateSimplifier::TokenAndName* tokenAndName) {
mImpl->mTemplateSimplifierPointers.emplace(tokenAndName);
mImpl->mTemplateSimplifierPointers.insert(tokenAndName);
}
void setBits(const unsigned char b) {
mImpl->mBits = b;