]> git.saurik.com Git - wxWidgets.git/commit
No real changes, just avoid an unnecessary heap allocation in a test.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 May 2010 11:55:37 +0000 (11:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 May 2010 11:55:37 +0000 (11:55 +0000)
commit1a39b0131f93b24c1fb89668170b212430a42c3a
tree096f59eba74b3d8fc3412a9d5acd59543959d855
parentcd49ac33b3b8f9643344b427e6071e5087706cdc
No real changes, just avoid an unnecessary heap allocation in a test.

We don't need to allocate the locale object in StringTestCase::ToDouble() on
the heap (and then delete it -- or not, if an assertion fails before the
function end), it's enough and simpler to just create it as a local variable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/strings/strings.cpp