]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: avoid calling a virtual function in a ctor 55896/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 3 Mar 2024 05:50:43 +0000 (07:50 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 10 Mar 2024 12:37:30 +0000 (07:37 -0500)
Cleaning up a clang-tidy warning.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/osd_types.cc

index 2c6028f9cb416bfc51b773255bdcbec44f5d883d..b69a6d56d83ef728da4cb861b9f6e1900dc992fc 100644 (file)
@@ -3886,7 +3886,7 @@ class pi_compact_rep : public PastIntervals::interval_rep {
     bool ec_pool,
     std::list<PastIntervals::pg_interval_t> &&intervals) {
     for (auto &&i: intervals)
-      add_interval(ec_pool, i);
+      pi_compact_rep::add_interval(ec_pool, i);
   }
 public:
   pi_compact_rep() = default;