We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 849606a commit 1fd217aCopy full SHA for 1fd217a
include/jsoncons/json_options.hpp
@@ -210,26 +210,12 @@ class basic_json_options_common
210
211
string_type nan_to_str() const
212
{
213
- if (enable_nan_to_str_)
214
- {
215
- return nan_to_str_;
216
- }
217
- else
218
219
- return nan_to_str_; // empty string
220
+ return nan_to_str_;
221
}
222
223
string_type inf_to_str() const
224
225
- if (enable_inf_to_str_)
226
227
- return inf_to_str_;
228
229
230
231
- return inf_to_str_; // empty string
232
+ return inf_to_str_;
233
234
235
string_type neginf_to_str() const
0 commit comments