]> git.tdb.fi Git - libs/math.git/commitdiff
Remove unnecessary destructors from exceptions
authorMikko Rasa <tdb@tdb.fi>
Mon, 23 Jan 2023 15:01:25 +0000 (17:01 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 23 Jan 2023 15:01:25 +0000 (17:01 +0200)
source/linal/dynamicvector.h
source/linal/matrixops.h

index 7016a7400f381aff0faabe28c18aa2cee81d8cd3..3f66ad74fc03bfd3eae09bc37508ea40f9398c38 100644 (file)
@@ -13,7 +13,6 @@ class size_mismatch: public std::logic_error
 {
 public:
        size_mismatch(const std::string &w): std::logic_error(w) { }
-       virtual ~size_mismatch() throw() { }
 };
 
 
index 0988accd6d44798ab906851fc180acf4455cba3e..3b112083c04dae575657c93fe392480d32590081 100644 (file)
@@ -12,7 +12,6 @@ class not_invertible: public std::domain_error
 {
 public:
        not_invertible(): domain_error(std::string()) { }
-       virtual ~not_invertible() throw() { }
 };