From: Vadim Zeitlin Date: Sat, 24 Sep 2005 21:28:15 +0000 (+0000) Subject: missing const added (patch 1295036) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/68bc51a9ed67dfd2891cd8474a0793171d5e2a8d missing const added (patch 1295036) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/buffer.h b/include/wx/buffer.h index 3cea4f35f8..c220566ffd 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -251,7 +251,7 @@ public: m_bufdata->m_len += 1; } - void AppendData(void* data, size_t len) + void AppendData(const void *data, size_t len) { memcpy(GetAppendBuf(len), data, len); UngetAppendBuf(len);