X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLexer.cpp;h=17cc161d19ccab690f571c75b288fa9be9e5de45;hb=19f5aa58aa55fe210c689052967ade0f943f82fb;hp=2711db49e153e321733fd7c799b011b326791580;hpb=c0f930930062858a7414c18705b967eb136201b3;p=lyx.git diff --git a/src/Lexer.cpp b/src/Lexer.cpp index 2711db49e1..17cc161d19 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -24,8 +24,8 @@ #include "support/lassert.h" #include "support/lstrings.h" #include "support/lyxalgo.h" -#include "support/types.h" +#include // sort, lower_bound #include #include #include @@ -945,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; }