X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLexer.cpp;h=17cc161d19ccab690f571c75b288fa9be9e5de45;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=b11bf4743a549c4044fcd94c288dd25ef178bbc4;hpb=196d9caeb0b9f74d02750f774de1ca63a483803f;p=lyx.git diff --git a/src/Lexer.cpp b/src/Lexer.cpp index b11bf4743a..17cc161d19 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -25,6 +25,7 @@ #include "support/lstrings.h" #include "support/lyxalgo.h" +#include // sort, lower_bound #include #include #include @@ -944,9 +945,9 @@ bool Lexer::checkFor(char const * required) } -void Lexer::setContext(std::string const & str) +void Lexer::setContext(std::string const & functionName) { - pimpl_->context = str; + pimpl_->context = functionName; }