From: Samuel Just Date: Sat, 7 May 2022 05:42:47 +0000 (-0700) Subject: crimson/common/operation: use std::list for AggregateBlockingEvent::events X-Git-Tag: v18.0.0~937^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=027d6c2940027be8684f8af990f98c9f09cefb72;p=ceph.git crimson/common/operation: use std::list for AggregateBlockingEvent::events std::vector's references aren't stable after emplace_back. Fixes: https://tracker.ceph.com/issues/55565 Signed-off-by: Samuel Just --- diff --git a/src/crimson/common/operation.h b/src/crimson/common/operation.h index 634d303b4acf..ec224deb7d91 100644 --- a/src/crimson/common/operation.h +++ b/src/crimson/common/operation.h @@ -262,7 +262,7 @@ struct AggregateBlockingEvent { }; private: - std::vector events; + std::list events; template friend class Trigger; };