From 4a8e00881158811ba1ed7bdc5d776f667dc8f926 Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Mon, 31 Oct 2022 12:53:35 +0100 Subject: [PATCH] laerror use std::exception --- laerror.h | 2 +- t.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/laerror.h b/laerror.h index 336c1c4..2d24489 100644 --- a/laerror.h +++ b/laerror.h @@ -33,7 +33,7 @@ extern bool _LA_count_check; //intentionally not const //exception class for laerror -class LAerror +class LAerror : public std::exception { public: const char *msg; diff --git a/t.cc b/t.cc index 51e865b..09f7c89 100644 --- a/t.cc +++ b/t.cc @@ -2726,6 +2726,7 @@ cout <<"nonpseudounitarity of explicit uubar = "<