From c9bcaa3b7bc5c3ae0fba2f10be2b38a57c347455 Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Fri, 24 Sep 2021 13:00:37 +0200 Subject: [PATCH] fix(pmix): ler warning string-plus-int --- fairmq/plugins/PMIx/PMIx.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fairmq/plugins/PMIx/PMIx.hpp b/fairmq/plugins/PMIx/PMIx.hpp index ff07b70a..b1e61b86 100644 --- a/fairmq/plugins/PMIx/PMIx.hpp +++ b/fairmq/plugins/PMIx/PMIx.hpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -86,7 +87,7 @@ struct value : pmix_value_t PMIX_VALUE_XFER(rc, lhs, static_cast(const_cast(&rhs))); if (rc != PMIX_SUCCESS) { - throw runtime_error("pmix::value copy ctor failed: rc=" + rc); + throw runtime_error("pmix::value copy ctor failed: rc=" + std::to_string(rc)); } }