Replace std::set::emplace with std::set::insert to make Cppcheck compilable in Slackware 14.0
This commit is contained in:
parent
5f5c33baf2
commit
36ffa91825
|
@ -529,7 +529,7 @@ public:
|
||||||
return mImpl->mTemplateSimplifierPointers;
|
return mImpl->mTemplateSimplifierPointers;
|
||||||
}
|
}
|
||||||
void templateSimplifierPointer(TemplateSimplifier::TokenAndName* tokenAndName) {
|
void templateSimplifierPointer(TemplateSimplifier::TokenAndName* tokenAndName) {
|
||||||
mImpl->mTemplateSimplifierPointers.emplace(tokenAndName);
|
mImpl->mTemplateSimplifierPointers.insert(tokenAndName);
|
||||||
}
|
}
|
||||||
void setBits(const unsigned char b) {
|
void setBits(const unsigned char b) {
|
||||||
mImpl->mBits = b;
|
mImpl->mBits = b;
|
||||||
|
|
Loading…
Reference in New Issue