]> git.saurik.com Git - wxWidgets.git/commit
don't call CopyBeforeWrite when returning non-const interator if the string is empty...
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 31 May 2004 22:05:59 +0000 (22:05 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 31 May 2004 22:05:59 +0000 (22:05 +0000)
commitac3c86ee7ddab0a1a5f025fb98ce9b992db84623
tree382d68959cf9afc44109f216c910a03b3b5e7ab9
parent0dc6da2d7df15f9e09065459ceb42b536443e7e9
don't call CopyBeforeWrite when returning non-const interator if the string is empty -- avoids assert and is not needed anyway since the iterator is never valid

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/string.h
src/common/string.cpp