mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
src/coordcache.C: stop compiler complaint for std::min
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15495 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8b5e79fc47
commit
55c10ff2b5
@ -70,7 +70,7 @@ CoordCache::dump() const {
|
|||||||
Paragraph const & par = lt->getPar(pit);
|
Paragraph const & par = lt->getPar(pit);
|
||||||
Point p = (*j).second;
|
Point p = (*j).second;
|
||||||
lyxerr << "Paragraph " << pit << ": \"";
|
lyxerr << "Paragraph " << pit << ": \"";
|
||||||
for (int k = 0; k < std::min(10, par.size()); ++k) {
|
for (int k = 0; k < std::min(static_cast<lyx::pos_type>(10), par.size()); ++k) {
|
||||||
lyxerr << to_utf8(docstring(1,par.getChar(k)));
|
lyxerr << to_utf8(docstring(1,par.getChar(k)));
|
||||||
}
|
}
|
||||||
lyxerr << "\" has point " << p.x_ << "," << p.y_ << std::endl;
|
lyxerr << "\" has point " << p.x_ << "," << p.y_ << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user