From 842d64e8d7a16ed4ee4e9c9e52850e54fae759a4 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Thu, 19 Apr 2007 22:20:46 +0000 Subject: [PATCH] Added virtual destructor to StyledWriter to avoid -Wall warning from g++ --- include/json/writer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/json/writer.h b/include/json/writer.h index ea9716d..5ec8641 100644 --- a/include/json/writer.h +++ b/include/json/writer.h @@ -65,6 +65,7 @@ namespace Json { { public: StyledWriter(); + virtual ~StyledWriter(){} public: // overridden from Writer /** \brief Serialize a Value in JSON format.