Commit f49f895c authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

correction: provide vitual destructors

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2442
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 281311b4
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: error.h,v 1.2 2007-10-02 18:49:09 tforb Exp $
* $Id: error.h,v 1.3 2007-11-20 16:37:38 tforb Exp $
* \author Thomas Forbriger
* \date 08/02/2004
*
......@@ -29,6 +29,7 @@
*
* REVISIONS and CHANGES
* - 08/02/2004 V1.0 Thomas Forbriger
* - 20/11/2007 V1.1 provide virtual destructors
*
* ============================================================================
*/
......@@ -39,7 +40,7 @@
#define LINEAR_ERROR_H_VERSION \
"LINEAR_ERROR_H V1.0 "
#define LINEAR_ERROR_H_CVSID \
"$Id: error.h,v 1.2 2007-10-02 18:49:09 tforb Exp $"
"$Id: error.h,v 1.3 2007-11-20 16:37:38 tforb Exp $"
namespace linear {
......@@ -66,6 +67,8 @@ namespace linear {
public:
//! Creates exception with no explaning comments
Exception();
//! Needs a virtual destructor
virtual ~Exception() { }
//! Creates an exception with an explanation message
Exception(const char* message);
//! Creates an exception with message and failed assertion
......@@ -120,6 +123,8 @@ namespace linear {
const int& line,
const char* condition,
const int& value);
//! Needs a virtual destructor
virtual ~LapackException() { }
//! Screen report
virtual void report() const;
//! return INFO value
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment