mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
fix(pmix): ler warning string-plus-int
This commit is contained in:
parent
e484bf4578
commit
2934016586
|
@ -18,6 +18,7 @@
|
||||||
#include <pmix.h>
|
#include <pmix.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
#include <string>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -86,7 +87,7 @@ struct value : pmix_value_t
|
||||||
PMIX_VALUE_XFER(rc, lhs, static_cast<pmix_value_t*>(const_cast<value*>(&rhs)));
|
PMIX_VALUE_XFER(rc, lhs, static_cast<pmix_value_t*>(const_cast<value*>(&rhs)));
|
||||||
|
|
||||||
if (rc != PMIX_SUCCESS) {
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user