Prevent livetime issue in ArgumentValueConversionError

Breaking API/ABI is ok since this is part of experimental
ValueConversion namespace.
sendfile
Martchus 4 years ago
parent 5356d793fc
commit 517ef59e14
  1. 2
      application/argumentparser.h

@ -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;

Loading…
Cancel
Save