Skip to content
Snippets Groups Projects
Commit f9cd6bf9 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

DBusErrorHandlerI: add virtual destructor

This prevents a "new-delete-type-mismatch" detection by ASAN when
quitting a client due to the unique_ptr trying to use the default
deleter.

Change-Id: I5ba85f480ec420947c20b8167aab8c4bcffe78f7
Tuleap: #405
parent f957600b
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,8 @@ namespace Interfaces { ...@@ -28,6 +28,8 @@ namespace Interfaces {
*/ */
class DBusErrorHandlerI { class DBusErrorHandlerI {
public: public:
virtual ~DBusErrorHandlerI() = default;
virtual void connectionError(const QString& error) = 0; virtual void connectionError(const QString& error) = 0;
virtual void invalidInterfaceError(const QString& error) = 0; virtual void invalidInterfaceError(const QString& error) = 0;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment