From: Thibaut Cuvelier Date: Mon, 11 Mar 2024 00:15:48 +0000 (+0100) Subject: Improve const correctness. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b1a4eb118cd3d271a35b2260cde077e21c62c32c;p=features.git Improve const correctness. --- diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp index d101904e83..b07c08b56e 100644 --- a/src/mathed/MathExtern.cpp +++ b/src/mathed/MathExtern.cpp @@ -295,7 +295,7 @@ bool testString(MathAtom const & at, char const * const str) // search end of nested sequence MathData::iterator endNestSearch( MathData::iterator it, - MathData::iterator last, + const MathData::iterator& last, TestItemFunc testOpen, TestItemFunc testClose )