mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Compile fix for older gcc's.
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
This commit is contained in:
parent
fa1856440c
commit
0a48dce7ac
@ -500,7 +500,7 @@ TeXOnePar(Buffer const & buf,
|
||||
// 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();
|
||||
|
Loading…
Reference in New Issue
Block a user