better way to silence unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
be4980ab43
commit
d4280c0282
@ -879,8 +879,8 @@ inline double wxStrtod(const wxCStrData& nptr, T endptr)
|
||||
inline rettype name(const wchar_t *nptr, wchar_t **endptr, int base) \
|
||||
{ return implW(nptr, endptr, base); } \
|
||||
template<typename T> \
|
||||
inline rettype name(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int base)\
|
||||
{ wxUnusedVar(base); return name(nptr.data(), endptr); } \
|
||||
inline rettype name(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int)\
|
||||
{ return name(nptr.data(), endptr); } \
|
||||
template<typename T> \
|
||||
inline rettype name(const wxString& nptr, T endptr, int base) \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user