Remove extra semicolons to avoid gcc -Wpedantic warnings

Another fix after 00cdab77c5
This commit is contained in:
Vadim Zeitlin 2020-02-05 15:20:26 +01:00
parent 3f49942051
commit 4526765f8f

View File

@ -870,17 +870,17 @@ inline double wxStrtod(const wxCStrData& nptr, T endptr)
#ifdef wxHAS_NULLPTR_T
inline double wxStrtod(const wxString& nptr, std::nullptr_t)
{ return wxStrtod(nptr.wx_str(), static_cast<wxStringCharType**>(NULL)); };
{ return wxStrtod(nptr.wx_str(), static_cast<wxStringCharType**>(NULL)); }
inline double wxStrtod(const wxCStrData& nptr, std::nullptr_t)
{ return wxStrtod(nptr.AsString(), static_cast<wxStringCharType**>(NULL)); };
{ return wxStrtod(nptr.AsString(), static_cast<wxStringCharType**>(NULL)); }
#define WX_STRTOX_DEFINE_NULLPTR_OVERLOADS(rettype, name) \
inline rettype name(const wxString& nptr, std::nullptr_t, int base) \
{ return name(nptr.wx_str(), static_cast<wxStringCharType**>(NULL), \
base); }; \
base); } \
inline rettype name(const wxCStrData& nptr, std::nullptr_t, int base) \
{ return name(nptr.AsString(), static_cast<wxStringCharType**>(NULL), \
base); };
base); }
#else // !wxHAS_NULLPTR_T
#define WX_STRTOX_DEFINE_NULLPTR_OVERLOADS(rettype, name)