diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-07 02:17:04 +0100 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-17 15:36:04 +0000 | 
| commit | ecb69f49641b7eaff12e9d32deb58064b56ef6f9 (patch) | |
| tree | 2c4fa5b98275130b2d234e1a8b11cd180eb85a57 | |
| parent | Update to C++20 for constexpr virtual destructors required for new Slicer (diff) | |
| download | icespider-ecb69f49641b7eaff12e9d32deb58064b56ef6f9.tar.bz2 icespider-ecb69f49641b7eaff12e9d32deb58064b56ef6f9.tar.xz icespider-ecb69f49641b7eaff12e9d32deb58064b56ef6f9.zip  | |
Add missing virtual destructor
| -rw-r--r-- | Jamroot.jam | 1 | ||||
| -rw-r--r-- | icespider/core/ihttpRequest.h | 1 | 
2 files changed, 2 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index aa89be7..a63ba0c 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -17,6 +17,7 @@ project  			<variant>release:<lto>on  			<variant>debug:<warnings>extra  			<variant>debug:<warnings-as-errors>on +			<variant>debug:<cflags>-Wnon-virtual-dtor  			<variant>debug:<cflags>-Wcast-align  			<variant>debug:<cflags>-Wunused  			<variant>debug:<cflags>-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;  | 
