From 36ffa918252a99e70e33c91634bb5b3a8c844f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 5 Jan 2019 18:18:15 +0100 Subject: [PATCH] Replace std::set::emplace with std::set::insert to make Cppcheck compilable in Slackware 14.0 --- lib/token.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;