Prevent livetime issue in ArgumentValueConversionError

Breaking API/ABI is ok since this is part of experimental
ValueConversion namespace.
This commit is contained in:
Martchus 2018-10-03 22:39:52 +02:00
parent 5356d793fc
commit 517ef59e14
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ template <typename TargetType, Traits::EnableIf<std::is_arithmetic<TargetType>>
/// \cond
namespace Helper {
struct CPP_UTILITIES_EXPORT ArgumentValueConversionError {
const char *const errorMessage;
const std::string errorMessage;
const char *const valueToConvert;
const char *const targetTypeName;