@@ -112,12 +112,12 @@ class JSON_API StreamWriterBuilder : public StreamWriter::Factory {
112112 Json::Value settings_;
113113
114114 StreamWriterBuilder ();
115- ~StreamWriterBuilder () override ;
115+ ~StreamWriterBuilder () JSONCPP_OVERRIDE ;
116116
117117 /* *
118118 * \throw std::exception if something goes wrong (e.g. invalid settings)
119119 */
120- StreamWriter* newStreamWriter () const override ;
120+ StreamWriter* newStreamWriter () const JSONCPP_OVERRIDE ;
121121
122122 /* * \return true if 'settings' are legal and consistent;
123123 * otherwise, indicate bad settings via 'invalid'.
@@ -158,7 +158,7 @@ class JSON_API FastWriter : public Writer {
158158
159159public:
160160 FastWriter ();
161- ~FastWriter () override {}
161+ ~FastWriter () JSONCPP_OVERRIDE {}
162162
163163 void enableYAMLCompatibility ();
164164
@@ -172,7 +172,7 @@ class JSON_API FastWriter : public Writer {
172172 void omitEndingLineFeed ();
173173
174174public: // overridden from Writer
175- JSONCPP_STRING write (const Value& root) override ;
175+ JSONCPP_STRING write (const Value& root) JSONCPP_OVERRIDE ;
176176
177177private:
178178 void writeValue (const Value& value);
@@ -210,14 +210,14 @@ class JSON_API FastWriter : public Writer {
210210class JSON_API StyledWriter : public Writer {
211211public:
212212 StyledWriter ();
213- ~StyledWriter () override {}
213+ ~StyledWriter () JSONCPP_OVERRIDE {}
214214
215215public: // overridden from Writer
216216 /* * \brief Serialize a Value in <a HREF="http://www.json.org">JSON</a> format.
217217 * \param root Value to serialize.
218218 * \return String containing the JSON document that represents the root value.
219219 */
220- JSONCPP_STRING write (const Value& root) override ;
220+ JSONCPP_STRING write (const Value& root) JSONCPP_OVERRIDE ;
221221
222222private:
223223 void writeValue (const Value& value);
0 commit comments