Fix compatibility with C++17.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d1d6940000)
r14.1.x
Slávek Banko 5 months ago
parent 7e20b904ec
commit f80e1f0c28
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -247,7 +247,7 @@ void ProgramTypeTable::loadTypeTable(TypeTable* table)
const TypeTable::TypeMap& t = table->templates();
std::transform(t.begin(), t.end(),
std::inserter(m_templates, m_templates.begin()),
std::ptr_fun(template2Info));
std::ref(template2Info));
// check whether to enable builtin TQString support
if (!m_parseTQt2TQStrings) {

Loading…
Cancel
Save