From 5a7dbf03ef3f1643b5cd66df5c9b29106b195750 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 9 Sep 2019 15:40:58 +0200 Subject: [PATCH] crimson: facilitate errorator extending with new errors. Signed-off-by: Radoslaw Zarzynski --- src/crimson/common/errorator.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/crimson/common/errorator.h b/src/crimson/common/errorator.h index 3a639c2a7ba..b3b7cddc575 100644 --- a/src/crimson/common/errorator.h +++ b/src/crimson/common/errorator.h @@ -293,6 +293,11 @@ struct errorator { } }; + // get a new errorator by extending current one with new error + template + using extend = errorator; + private: struct ignore_marker_t{}; -- 2.39.5