Upgrade code to C++17

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2024-03-11 15:56:09 +01:00
parent e3a59d1118
commit be1874cc8c

View File

@ -104,11 +104,11 @@ public:
/// ///
/// Constructs new hexadecimal validator /// Constructs new hexadecimal validator
/// ///
wxHexValidator(ValueType *value = NULL, int style = wxNUM_VAL_DEFAULT, unsigned int width = 0) : Base(value, style) wxHexValidator(T *value = NULL, int style = wxNUM_VAL_DEFAULT, unsigned int width = 0) : Base(value, style)
{ {
this->DoSetWidth(width); this->DoSetWidth(width);
this->DoSetMin(std::numeric_limits<ValueType>::min()); this->DoSetMin(std::numeric_limits<T>::min());
this->DoSetMax(std::numeric_limits<ValueType>::max()); this->DoSetMax(std::numeric_limits<T>::max());
} }
/// ///