From 89745e83f3f8bff8fb67d6516aea87f087e10398 Mon Sep 17 00:00:00 2001 From: ARATA Mizuki Date: Mon, 29 Feb 2016 18:07:07 +0900 Subject: [PATCH] Fix signatures of wxStringBuffer / wxStringBufferLength constructors in interface/wx/string.h There were extra 'const's in the interface file. --- interface/wx/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/string.h b/interface/wx/string.h index fbd4e455c3fd..0b12290ab9ff 100644 --- a/interface/wx/string.h +++ b/interface/wx/string.h @@ -1953,7 +1953,7 @@ class wxStringBufferLength Basically, this is equivalent to calling wxString::GetWriteBuf and saving the result. */ - wxStringBufferLength(const wxString& str, size_t len); + wxStringBufferLength(wxString& str, size_t len); /** Restores the string passed to the constructor to the usable state by calling @@ -2014,7 +2014,7 @@ class wxStringBuffer Basically, this is equivalent to calling wxString::GetWriteBuf() and saving the result. */ - wxStringBuffer(const wxString& str, size_t len); + wxStringBuffer(wxString& str, size_t len); /** Restores the string passed to the constructor to the usable state by calling