Fix syntax error in interface headers

Although these headers are not supposed to be compiled, it's still
better to avoid at least the obvious typos in them.

Closes https://github.com/wxWidgets/wxWidgets/pull/2140
This commit is contained in:
Satya Das
2020-12-10 22:13:18 +01:00
committed by Vadim Zeitlin
parent e99992b42d
commit 86a3578a11
10 changed files with 17 additions and 17 deletions

View File

@@ -1577,7 +1577,7 @@ typedef double wxDouble;
@header{wx/defs.h}
*/
template <typename T> wxDELETE(T*& ptr);
template <typename T> void wxDELETE(T*& ptr);
/**
A function which deletes and nulls the pointer.
@@ -1597,7 +1597,7 @@ template <typename T> wxDELETE(T*& ptr);
@header{wx/defs.h}
*/
template <typename T> wxDELETEA(T*& array);
template <typename T> void wxDELETEA(T*& array);
/**
Generate deprecation warning with the given message when a function is
@@ -1796,7 +1796,7 @@ template <typename T> wxDELETEA(T*& array);
wxASSERT( x == 4 && y == 3 );
@endcode
*/
template <typename T> wxSwap(T& first, T& second);
template <typename T> void wxSwap(T& first, T& second);
/**
This macro is the same as the standard C99 @c va_copy for the compilers