From ecb69f49641b7eaff12e9d32deb58064b56ef6f9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 7 Sep 2021 02:17:04 +0100 Subject: Add missing virtual destructor --- Jamroot.jam | 1 + icespider/core/ihttpRequest.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Jamroot.jam b/Jamroot.jam index aa89be7..a63ba0c 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -17,6 +17,7 @@ project release:on debug:extra debug:on + debug:-Wnon-virtual-dtor debug:-Wcast-align debug:-Wunused debug:-Wnull-dereference diff --git a/icespider/core/ihttpRequest.h b/icespider/core/ihttpRequest.h index a54eae3..f88d81f 100644 --- a/icespider/core/ihttpRequest.h +++ b/icespider/core/ihttpRequest.h @@ -27,6 +27,7 @@ namespace IceSpider { class DLL_PUBLIC IHttpRequest { public: explicit IHttpRequest(const Core *); + virtual ~IHttpRequest() = default; [[nodiscard]] Ice::Context getContext() const; [[nodiscard]] virtual const PathElements & getRequestPath() const = 0; -- cgit v1.2.3