summaryrefslogtreecommitdiff
path: root/tests/writer_string.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-06 08:49:58 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-06 08:49:58 +0000
commit04629118dbde33fdedfe489119f34912f8e7c124 (patch)
tree1a212f9122d56d1147c64b5c44fa99248e6a21cb /tests/writer_string.hpp
parent72dd6038a23029a0fd537237540f99507dbc361f (diff)
tests: Android compilation fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@846 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/writer_string.hpp')
-rw-r--r--tests/writer_string.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writer_string.hpp b/tests/writer_string.hpp
index 390f93b..6bffc32 100644
--- a/tests/writer_string.hpp
+++ b/tests/writer_string.hpp
@@ -12,7 +12,7 @@ struct xml_writer_string: public pugi::xml_writer
virtual void write(const void* data, size_t size);
std::string as_narrow() const;
- std::wstring as_wide() const;
+ std::basic_string<wchar_t> as_wide() const;
std::basic_string<pugi::char_t> as_string() const;
};
@@ -22,6 +22,6 @@ bool test_save_narrow(const pugi::xml_document& doc, unsigned int flags, pugi::x
std::string write_narrow(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding);
bool test_write_narrow(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding, const char* expected, size_t length);
-std::wstring write_wide(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding);
+std::basic_string<wchar_t> write_wide(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding);
#endif