Fix compatibility with C++17.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/20/head
Slávek Banko 2 weeks ago
parent db9f1ffa27
commit d1d6940000
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