From 04ad48806e1ebdbaf8b7d7876af75495fcb7b9d4 Mon Sep 17 00:00:00 2001 From: Daniel Sipka Date: Fri, 24 Apr 2015 23:33:48 +0200 Subject: [PATCH] virtual destructor --- src/state/render_state.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/state/render_state.hpp b/src/state/render_state.hpp index e289c5b..e44a956 100644 --- a/src/state/render_state.hpp +++ b/src/state/render_state.hpp @@ -10,6 +10,7 @@ class render_context; class render_state { public: + virtual ~render_state() {} virtual std::string render(render_context& context, const token& token) = 0; };