From d1d6940000528261bd779fe38d584caa6f278438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 15 Apr 2024 11:25:18 +0200 Subject: Fix compatibility with C++17. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kdbg/typetable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.1