summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdbg/typetable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdbg/typetable.cpp b/kdbg/typetable.cpp
index 2dc4276..f0aa7a9 100644
--- a/kdbg/typetable.cpp
+++ b/kdbg/typetable.cpp
@@ -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) {