summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-15 11:25:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-15 11:25:18 +0200
commitd1d6940000528261bd779fe38d584caa6f278438 (patch)
treecfc613c8cbd79af7b4b602fb991937fbbf04d582
parentdb9f1ffa275b6b08a96e66267fcb0b8a14cca1a0 (diff)
downloadkdbg-d1d6940000528261bd779fe38d584caa6f278438.tar.gz
kdbg-d1d6940000528261bd779fe38d584caa6f278438.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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) {