diff --git a/lib/token.h b/lib/token.h index f28eb93f2..53807c8ad 100644 --- a/lib/token.h +++ b/lib/token.h @@ -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;