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 12:38:53 +0200
commitf80e1f0c284364832c03a004a2e85da7949f6b5e (patch)
treecfc613c8cbd79af7b4b602fb991937fbbf04d582
parent7e20b904ecb795a5580efe9b22a667404e8e8255 (diff)
downloadkdbg-f80e1f0c284364832c03a004a2e85da7949f6b5e.tar.gz
kdbg-f80e1f0c284364832c03a004a2e85da7949f6b5e.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d1d6940000528261bd779fe38d584caa6f278438)
-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) {