../../src/text3.C: In member function ‘void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&)’: ../../src/text3.C:714: error: no matching function for call to ‘lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest)’ ../../src/text3.C:301: note: candidates are: void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&)
I believe that the compiler is right: You should not pass a temporary if a non-const reference is wanted. Georg