mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
add clarifying comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15929 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
646c312740
commit
0735a7bcdc
@ -155,6 +155,9 @@ int InsetBibtex::latex(Buffer const & buffer, odocstream & os,
|
||||
typedef boost::tokenizer<Separator, docstring::const_iterator, docstring> Tokenizer;
|
||||
|
||||
Separator const separator(from_ascii(",").c_str());
|
||||
// The tokenizer must not be called with temporary strings, since
|
||||
// it does not make a copy and uses iterators of the string further
|
||||
// down. getParam returns a reference, so this is OK.
|
||||
Tokenizer const tokens(getParam("bibfiles"), separator);
|
||||
Tokenizer::const_iterator const begin = tokens.begin();
|
||||
Tokenizer::const_iterator const end = tokens.end();
|
||||
|
Loading…
Reference in New Issue
Block a user