From 1224b8a3865f070ff541c0f1f3b889380abd087f Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 31 Aug 2008 23:48:33 +0000 Subject: [PATCH] silence warning with GCC -Wextra git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/string.h b/include/wx/string.h index 10a7d9085b..b369223e71 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -721,7 +721,9 @@ private: // used for length caching only so far, i.e. it doesn't count as a hit // from our point of view if ( cache->pos ) + { wxCACHE_PROFILE_FIELD_INC(poshits); + } if ( pos == cache->pos ) return cache->impl; -- 2.45.2