Skip to content

Commit 7d5ea23

Browse files
committed
osd: avoid calling a virtual function in a ctor
Cleaning up a clang-tidy warning. Signed-off-by: Ronen Friedman <[email protected]>
1 parent cb2b48d commit 7d5ea23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osd/osd_types.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3886,7 +3886,7 @@ class pi_compact_rep : public PastIntervals::interval_rep {
38863886
bool ec_pool,
38873887
std::list<PastIntervals::pg_interval_t> &&intervals) {
38883888
for (auto &&i: intervals)
3889-
add_interval(ec_pool, i);
3889+
pi_compact_rep::add_interval(ec_pool, i);
38903890
}
38913891
public:
38923892
pi_compact_rep() = default;

0 commit comments

Comments
 (0)