diff --git a/include/wx/wxcrt.h b/include/wx/wxcrt.h index ab9752db22..4fe0ba9650 100644 --- a/include/wx/wxcrt.h +++ b/include/wx/wxcrt.h @@ -869,16 +869,16 @@ inline double wxStrtod(const wxCStrData& nptr, T endptr) #ifdef wxHAS_NULLPTR_T -inline double wxStrtod(const wxString& nptr, nullptr_t) +inline double wxStrtod(const wxString& nptr, std::nullptr_t) { return wxStrtod(nptr.wx_str(), static_cast(NULL)); }; -inline double wxStrtod(const wxCStrData& nptr, nullptr_t) +inline double wxStrtod(const wxCStrData& nptr, std::nullptr_t) { return wxStrtod(nptr.AsString(), static_cast(NULL)); }; #define WX_STRTOX_DEFINE_NULLPTR_OVERLOADS(rettype, name) \ - inline rettype name(const wxString& nptr, nullptr_t, int base) \ + inline rettype name(const wxString& nptr, std::nullptr_t, int base) \ { return name(nptr.wx_str(), static_cast(NULL), \ base); }; \ - inline rettype name(const wxCStrData& nptr, nullptr_t, int base) \ + inline rettype name(const wxCStrData& nptr, std::nullptr_t, int base) \ { return name(nptr.AsString(), static_cast(NULL), \ base); };