Add missing "inline" to std::swap() specialization for wxUniCharRef.

Avoid multiple definitions of this function.

See #16234.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-05-07 13:43:14 +00:00
parent f8fb172d64
commit c294ad284c

View File

@@ -301,6 +301,7 @@ namespace std
{ {
template <> template <>
inline
void swap<wxUniCharRef>(wxUniCharRef& lhs, wxUniCharRef& rhs) void swap<wxUniCharRef>(wxUniCharRef& lhs, wxUniCharRef& rhs)
{ {
if ( &lhs != &rhs ) if ( &lhs != &rhs )