Compilation failure with c++11 (string_view)
Richard Kimberly Heck
rikiheck at gmail.com
Thu Jan 5 04:08:00 UTC 2023
On 1/4/23 21:39, Scott Kostyshak wrote:
> On Tue, Jan 03, 2023 at 10:30:27AM +0100, Jean-Marc Lasgouttes wrote:
>> With master, I cannot compile in c++11 mode:
>>
>> ../../master/src/mathed/InsetMathDecoration.cpp:191:22: error: ‘string_view’
>> has not been declared
>> 191 | Attributes(bool o, string_view entity)
>> | ^~~~~~~~~~~
>>
>> Indeed, std::string_view is a c++17 thing.
> CC'ing Thibaut (I think this was introduced at bc73a857).
I've fixed it.
Riki
More information about the lyx-devel
mailing list