From 027d6c2940027be8684f8af990f98c9f09cefb72 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Fri, 6 May 2022 22:42:47 -0700 Subject: [PATCH] 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 --- src/crimson/common/operation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/common/operation.h b/src/crimson/common/operation.h index 634d303b4ac..ec224deb7d9 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; }; -- 2.39.5