[LyX/master] Const

Richard Kimberly Heck rikiheck at lyx.org
Thu Oct 29 22:05:09 UTC 2020


commit cc1d3b78c948a7ceced6919009a17fc518f1b0d3
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Thu Oct 29 18:25:25 2020 -0400

    Const
---
 src/frontends/qt/Menus.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/Menus.cpp b/src/frontends/qt/Menus.cpp
index bbfe5d9..a138091 100644
--- a/src/frontends/qt/Menus.cpp
+++ b/src/frontends/qt/Menus.cpp
@@ -1370,7 +1370,7 @@ void MenuDefinition::expandToc(Buffer const * buf)
 	}
 	// Handle normal TOC
 	add(MenuItem(MenuItem::Separator));
-	TocList::const_iterator cit = toc_list.find("tableofcontents");
+	TocList::const_iterator const cit = toc_list.find("tableofcontents");
 	if (cit == toc_list.end())
 		LYXERR(Debug::GUI, "No table of contents.");
 	else {


More information about the lyx-cvs mailing list