I accidentally used data() which is not yet in the standard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15565
a592a061-630c-0410-9148-
cb99ea01b6c8
// two encodings in one file.
// FIXME: Catch iconv conversion errors and display an error
// dialog.
- std::vector<char_type> const faked = lyx::eightbit_to_ucs4(encoded.data(),
+ std::vector<char_type> const faked = lyx::eightbit_to_ucs4(&(encoded[0]),
encoded.size(), doc_language->encoding()->iconvName());
std::vector<char_type>::const_iterator const end = faked.end();
std::vector<char_type>::const_iterator it = faked.begin();