1
0
mirror of https://github.com/pdewacht/brlaser synced 2024-12-26 15:38:20 +01:00

Import lest v1.8.0

This commit is contained in:
Peter De Wachter 2014-06-29 11:50:18 +02:00
parent 77ce307fdb
commit 2e37d9d62a

View File

@ -108,6 +108,8 @@ struct message : std::runtime_error
const location where; const location where;
const comment note; const comment note;
~message() throw() {} // GCC 4.6
message( std::string kind, location where, std::string expr, std::string note = "" ) message( std::string kind, location where, std::string expr, std::string note = "" )
: std::runtime_error{ expr }, kind{ kind }, where{ where }, note{ note } {} : std::runtime_error{ expr }, kind{ kind }, where{ where }, note{ note } {}
}; };