[LyX features/breakrows] fixup 3d8cc4245fb for older compilers

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Jul 22 08:30:46 UTC 2021


The branch, breakrows, has been updated.

- Log -----------------------------------------------------------------

commit 4729043d2d788be30c2ce289293720e1137c58c2
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Thu Jul 22 10:46:54 2021 +0200

    fixup 3d8cc4245fb for older compilers

diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp
index 3ab621e..73791e3 100644
--- a/src/TextMetrics.cpp
+++ b/src/TextMetrics.cpp
@@ -1091,8 +1091,8 @@ RowList TextMetrics::breakParagraph(Row const & bigrow) const
 	bool need_new_row = true;
 	pos_type pos = 0;
 	int width = 0;
-	flexible_const_iterator fcit = flexible_begin(bigrow);
-	flexible_const_iterator const end = flexible_end(bigrow);
+	flexible_const_iterator<Row> fcit = flexible_begin(bigrow);
+	flexible_const_iterator<Row> const end = flexible_end(bigrow);
 	while (true) {
 		bool const has_row = !rows.empty();
 		bool const row_empty = !has_row || rows.back().empty();

-----------------------------------------------------------------------

Summary of changes:
 src/TextMetrics.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Repository for new features


More information about the lyx-cvs mailing list