--- lsys/util.h 2008/11/06 14:31:24 1.1 +++ lsys/util.h 2018/11/07 12:50:17 1.2 @@ -17,8 +17,8 @@ /* these defines belongs into config.h */ #define abstract = 0 -#define t_no throw () -#define t_err throw (error) +#define t_no noexcept +#define t_err // can only throw error inline bool equal (double a, double b) { @@ -149,7 +149,7 @@ { }; template - error &operator <<(const T &s) const t_no + error &operator <<(const T &s) t_no { msg.append (s); return *this; }; };