@@ -112,12 +112,12 @@ class JSON_API StreamWriterBuilder : public StreamWriter::Factory {
112
112
Json::Value settings_;
113
113
114
114
StreamWriterBuilder ();
115
- ~StreamWriterBuilder () override ;
115
+ ~StreamWriterBuilder () JSONCPP_OVERRIDE ;
116
116
117
117
/* *
118
118
* \throw std::exception if something goes wrong (e.g. invalid settings)
119
119
*/
120
- StreamWriter* newStreamWriter () const override ;
120
+ StreamWriter* newStreamWriter () const JSONCPP_OVERRIDE ;
121
121
122
122
/* * \return true if 'settings' are legal and consistent;
123
123
* otherwise, indicate bad settings via 'invalid'.
@@ -158,7 +158,7 @@ class JSON_API FastWriter : public Writer {
158
158
159
159
public:
160
160
FastWriter ();
161
- ~FastWriter () override {}
161
+ ~FastWriter () JSONCPP_OVERRIDE {}
162
162
163
163
void enableYAMLCompatibility ();
164
164
@@ -172,7 +172,7 @@ class JSON_API FastWriter : public Writer {
172
172
void omitEndingLineFeed ();
173
173
174
174
public: // overridden from Writer
175
- JSONCPP_STRING write (const Value& root) override ;
175
+ JSONCPP_STRING write (const Value& root) JSONCPP_OVERRIDE ;
176
176
177
177
private:
178
178
void writeValue (const Value& value);
@@ -210,14 +210,14 @@ class JSON_API FastWriter : public Writer {
210
210
class JSON_API StyledWriter : public Writer {
211
211
public:
212
212
StyledWriter ();
213
- ~StyledWriter () override {}
213
+ ~StyledWriter () JSONCPP_OVERRIDE {}
214
214
215
215
public: // overridden from Writer
216
216
/* * \brief Serialize a Value in <a HREF="http://www.json.org">JSON</a> format.
217
217
* \param root Value to serialize.
218
218
* \return String containing the JSON document that represents the root value.
219
219
*/
220
- JSONCPP_STRING write (const Value& root) override ;
220
+ JSONCPP_STRING write (const Value& root) JSONCPP_OVERRIDE ;
221
221
222
222
private:
223
223
void writeValue (const Value& value);
0 commit comments