Added virtual destructor to make clang happy

This commit is contained in:
Patrick Urbanke
2023-12-19 22:56:28 +01:00
parent a0e2c1c55f
commit 87a76193e1
+2
View File
@@ -11,6 +11,8 @@ namespace flexbuf {
class OutputVar {
public:
virtual ~OutputVar() = default;
/// Inserts the value into the buffer.
virtual void insert(const std::optional<std::string>& _key,
flexbuffers::Builder* _fbb) = 0;