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)); } }