]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/buffer.h
Fix wxScopedCharTypeBuffer<T>::CreateOwned() to match docs.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 5 May 2010 07:45:33 +0000 (07:45 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 5 May 2010 07:45:33 +0000 (07:45 +0000)
commit338084945b3076464083aa3b750e4b03baa37887
tree73b4bf1b82f4510714628992e85295cf6dd56ef5
parent10acc3ef6a2c65181b869ca4c1bdfbecf51ee4cd
Fix wxScopedCharTypeBuffer<T>::CreateOwned() to match docs.

The documentation says that it takes ownership of the memory block
passed to it, but the implementation made a copy.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/buffer.h
interface/wx/buffer.h