From 0e4e7ff370733a244d3edd39af30db00f85a7412 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sun, 3 Mar 2019 18:37:21 -0800 Subject: [PATCH] ~basic_parser is virtual --- CHANGELOG.md | 1 + include/boost/beast/http/basic_parser.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fef056a..d49e0f8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 227: * Fix decorator for certain sizes +* Fix warning on Mac OS clang -------------------------------------------------------------------------------- diff --git a/include/boost/beast/http/basic_parser.hpp b/include/boost/beast/http/basic_parser.hpp index 1b57460e..e0b6056d 100644 --- a/include/boost/beast/http/basic_parser.hpp +++ b/include/boost/beast/http/basic_parser.hpp @@ -149,7 +149,7 @@ public: std::integral_constant; /// Destructor - ~basic_parser() = default; + virtual ~basic_parser() = default; /// Copy constructor basic_parser(basic_parser const&) = delete;