added missing virtual d'tor for RigException

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2301 7ae35d74-ebe9-4afe-98af-79ac388436b8
This commit is contained in:
Robert Steinhäußer, DL1NC 2008-02-18 18:18:54 +00:00
parent a41917c998
commit d2307eacde

View File

@ -2,7 +2,7 @@
* Hamlib C++ bindings - API header
* Copyright (c) 2001-2002 by Stephane Fillod
*
* $Id: rigclass.h,v 1.13 2003-04-06 18:40:35 fillods Exp $
* $Id: rigclass.h,v 1.14 2008-02-18 18:18:54 dl1nc Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -245,6 +245,9 @@ public:
: message(msg), errorno (-RIG_EINTERNAL)
{};
virtual ~RigException()
{};
void print() const {
std::cerr << "Rig exception: " << message << std::endl;
}