From be1874cc8caa89d91cd9495a0a28efcd7d0bd4bc Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 11 Mar 2024 15:56:09 +0100 Subject: [PATCH] Upgrade code to C++17 Signed-off-by: Simon Rozman --- include/wxex/valhex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wxex/valhex.h b/include/wxex/valhex.h index d6d01de..77c65d7 100644 --- a/include/wxex/valhex.h +++ b/include/wxex/valhex.h @@ -104,11 +104,11 @@ public: /// /// 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->DoSetMin(std::numeric_limits::min()); - this->DoSetMax(std::numeric_limits::max()); + this->DoSetMin(std::numeric_limits::min()); + this->DoSetMax(std::numeric_limits::max()); } ///