@ 261105.1

240811.6 · c1e7d96d4450bc4ea4a986ce38af9e7f657e8141

apply clang-tidy modernize-use-emplace

reading declarations

Changes to src/include/picojson/. All files

src/include/picojson/picojson.h

@@ -1002,7 +1002,7 @@ public:   }   template <typename Iter> bool parse_array_item(input<Iter> &in, size_t) {     array &a = out_->get<array>();-    a.push_back(value());+    a.emplace_back();     default_parse_context ctx(&a.back(), depths_);     return _parse(ctx, in);   }