From 7d5ea23bd2da1684821e170c4acd4a5e6572c5cb Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Sun, 3 Mar 2024 07:50:43 +0200 Subject: [PATCH] osd: avoid calling a virtual function in a ctor Cleaning up a clang-tidy warning. Signed-off-by: Ronen Friedman --- src/osd/osd_types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 2c6028f9cb4..b69a6d56d83 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -3886,7 +3886,7 @@ class pi_compact_rep : public PastIntervals::interval_rep { bool ec_pool, std::list &&intervals) { for (auto &&i: intervals) - add_interval(ec_pool, i); + pi_compact_rep::add_interval(ec_pool, i); } public: pi_compact_rep() = default; -- 2.39.5