Added virtual destructor to StyledWriter to avoid -Wall warning from g++

This commit is contained in:
Christopher Dunn 2007-04-19 22:20:46 +00:00
parent f153eaaed0
commit 842d64e8d7

View File

@ -65,6 +65,7 @@ namespace Json {
{ {
public: public:
StyledWriter(); StyledWriter();
virtual ~StyledWriter(){}
public: // overridden from Writer public: // overridden from Writer
/** \brief Serialize a Value in <a HREF="http://www.json.org">JSON</a> format. /** \brief Serialize a Value in <a HREF="http://www.json.org">JSON</a> format.