From 02ecef4fcbd2552474f93901fae81c5cecf1e06b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 3 Jun 2017 14:58:44 +0300 Subject: [PATCH] Add const on remap_errors() --- include/boost/variant2/expected.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/variant2/expected.hpp b/include/boost/variant2/expected.hpp index 87022e8..d7339bc 100644 --- a/include/boost/variant2/expected.hpp +++ b/include/boost/variant2/expected.hpp @@ -375,7 +375,7 @@ public: }); } - expected remap_errors() + expected remap_errors() const { using R = expected;