File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,15 @@ namespace {
3232
3333namespace crimson ::osd {
3434
35+ // workaround for clang 19
36+ // when a .cc file includes ops_executer.h but doesn't include the pg.h,
37+ // it seems that clang++-19 can't retrieve the type hierarchy of PG, so
38+ // that the destructor of boost::intrusive_ptr<PG> could not find the hidden
39+ // friend of intrusive_ptr_release.
40+ // Moving the destructor invocation of intrusive_ptr to this file could
41+ // solve this issue.
42+ OpsExecuter::~OpsExecuter () {}
43+
3544OpsExecuter::call_ierrorator::future<> OpsExecuter::do_op_call (OSDOp& osd_op)
3645{
3746 std::string cname, mname;
Original file line number Diff line number Diff line change @@ -383,6 +383,8 @@ class OpsExecuter {
383383 snapc) {
384384 }
385385
386+ ~OpsExecuter ();
387+
386388 template <class Func >
387389 struct RollbackHelper ;
388390
You can’t perform that action at this time.
0 commit comments