Am Freitag, 13. September 2019, 19:01:14 CEST schrieb Jean-Marc Lasgouttes:
> Le 13/09/2019 à 17:29, Kornel Benko a écrit :
> > Am Freitag, 13. September 2019, 16:15:52 CEST schrieb Jean-Marc Lasgouttes:
> >> commit 714113655ad434f9a73d0101038568d59311af72
> >> Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
> >> Date:   Fri Sep 13 16:23:49 2019 +0200
> >>
> >>      Follow some of the performance advice from cppcheck
> >>      
> >>      Most of that is changing string to string const &.
> > 
> > /usr2/src/lyx/lyx-git/src/AspellChecker.cpp: In member function 
> > ‘AspellSpeller* lyx::AspellChecker::Private::addSpeller(const 
> > lyx::Language*)’:
> > /usr2/src/lyx/lyx-git/src/AspellChecker.cpp:291:58: error: cannot bind 
> > non-const lvalue reference of type ‘std::__cxx11::string& {aka 
> > std::__cxx11::basic_string<char>&}’ to an rvalue of type ‘const string {aka 
> > const std::__cxx11::basic_string<char>}’
> >     PersonalWordList * pd = new PersonalWordList(lang->lang());
> 
> Sorry, I forgot to configure the extra spellers. It should be better now.
> 
> JMarc
> 

Perfect. Compiles now.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to