X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bb222915e5b1670a7f1b6ecdf375d7ead23d2e8..f89919f5e9c80195007ebc3480f3fe4c133d5505:/src/msw/registry.cpp diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 674ebaf3a3..32d0d28510 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -1413,7 +1413,7 @@ const wxChar *GetFullName(const wxRegKey *pKey, const wxChar *szValue) return s_str.c_str(); } -void RemoveTrailingSeparator(wxString& str) +inline void RemoveTrailingSeparator(wxString& str) { if ( !str.empty() && str.Last() == REG_SEPARATOR ) str.Truncate(str.Len() - 1);