projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d77ea
)
Fix string stream unit test compilation in non-Unicode build.
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 12 Apr 2010 11:21:37 +0000
(11:21 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 12 Apr 2010 11:21:37 +0000
(11:21 +0000)
wxScopedCharBuffer can't be constructed from char* string, just use
wxCharBuffer instead, we don't care about efficiency here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63950
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
tests/streams/sstream.cpp
patch
|
blob
|
blame
|
history
diff --git
a/tests/streams/sstream.cpp
b/tests/streams/sstream.cpp
index 4e58062e8419088a8a8808c162aad3d9ca0df6f9..f345a926dfeaea012fe0f96bffebd80ef7f6b48c 100644
(file)
--- a/
tests/streams/sstream.cpp
+++ b/
tests/streams/sstream.cpp
@@
-106,7
+106,7
@@
void strStream::CheckString(const wxString& text)
{
wxStringOutputStream sos;
- const wx
Scoped
CharBuffer buf(text.mb_str());
+ const wxCharBuffer buf(text.mb_str());
sos.Write(buf, buf.length());
CPPUNIT_ASSERT_EQUAL( text, sos.GetString() );