From 87a76193e15baa1fc05fa10cfc52b6c156d1e192 Mon Sep 17 00:00:00 2001 From: Patrick Urbanke Date: Tue, 19 Dec 2023 22:56:28 +0100 Subject: [PATCH] Added virtual destructor to make clang happy --- include/rfl/flexbuf/OutputVar.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/rfl/flexbuf/OutputVar.hpp b/include/rfl/flexbuf/OutputVar.hpp index 9ec6d133..9eb0acde 100644 --- a/include/rfl/flexbuf/OutputVar.hpp +++ b/include/rfl/flexbuf/OutputVar.hpp @@ -11,6 +11,8 @@ namespace flexbuf { class OutputVar { public: + virtual ~OutputVar() = default; + /// Inserts the value into the buffer. virtual void insert(const std::optional& _key, flexbuffers::Builder* _fbb) = 0;