Skip to content

Commit

Permalink
Fix signatures of wxStringBuffer / wxStringBufferLength constructors …
Browse files Browse the repository at this point in the history
…in interface/wx/string.h

There were extra 'const's in the interface file.
  • Loading branch information
minoki committed Mar 1, 2016
1 parent cee3188 commit 89745e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/wx/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 89745e8

Please sign in to comment.