From bbde7fb4dc570a4d7c93436ef9b429a13663c892 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 11 Dec 2023 16:51:26 +0000 Subject: [PATCH] Add missing `override` to `~Impl()` The other virtual methods are marked with `override`, so there's no good reason for the destructor to not have this too. --- src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.cpp b/src/session.cpp index 5bf22c9..ffc7775 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -138,7 +138,7 @@ class Impl : public dap::Session { return send(s.dump()); } - ~Impl() { + ~Impl() override { inbox.close(); reader.close(); writer.close();