From: Ronen Friedman Date: Mon, 20 Nov 2023 18:44:17 +0000 (-0600) Subject: tools: modify ceph_dedup_tool to maintain Clang 15 compatibility X-Git-Tag: v19.0.0~28^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fd4e52b042b5f86350968de610e4e71cba379033;p=ceph-ci.git tools: modify ceph_dedup_tool to maintain Clang 15 compatibility Adding 'typename' in two instances, where version 15 of Clang still requires it. P0634R3, which made those 'typename' redundant, is only supported starting Clang 16. Signed-off-by: Ronen Friedman --- diff --git a/src/tools/ceph_dedup_tool.cc b/src/tools/ceph_dedup_tool.cc index c67368f9318..91a991c011a 100644 --- a/src/tools/ceph_dedup_tool.cc +++ b/src/tools/ceph_dedup_tool.cc @@ -581,9 +581,9 @@ public: } entry_into = NONE; /// Valid iterator into map for UNDER|OVER, default for NONE - map_t::iterator iter; + typename map_t::iterator iter; - entry_t(entry_into_t entry_into, map_t::iterator iter) : + entry_t(entry_into_t entry_into, typename map_t::iterator iter) : entry_into(entry_into), iter(iter) { ceph_assert(entry_into != NONE); }