diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 4cf95e1928..432f4e7eaf 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -1805,7 +1805,7 @@ size_type MathCompletionList::size() const } -docstring MathCompletionList::data(size_t idx) const +docstring const & MathCompletionList::data(size_t idx) const { size_t lsize = locals.size(); if (idx >= lsize)