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:
@@ -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 )
|
||||||
|
Reference in New Issue
Block a user