Made inheritance for Exception class virtual.

Fixed EndpointManager.
This commit is contained in:
Gunnar Beutner 2012-05-24 19:36:37 +02:00
parent 59dcfa801c
commit 3f708fce21
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@ namespace icinga
*
* @ingroup base
*/
class I2_BASE_API Exception : public exception
class I2_BASE_API Exception : public virtual exception
{
public:
Exception(void);

View File

@ -77,6 +77,8 @@ private:
void UnregisterServer(JsonRpcServer::Ptr server);
int NewClientHandler(const NewClientEventArgs& ncea);
};
}
#endif /* ENDPOINTMANAGER_H */