Fix IndexUpdate::ToString

This commit is contained in:
Jacob Dufault 2018-02-11 17:15:08 -08:00
parent 886f6f4a2c
commit 699cf4b506

View File

@ -728,7 +728,7 @@ void IndexUpdate::Merge(IndexUpdate&& update) {
std::string IndexUpdate::ToString() {
rapidjson::StringBuffer output;
rapidjson::Writer<rapidjson::StringBuffer> writer;
rapidjson::Writer<rapidjson::StringBuffer> writer(output);
JsonWriter json_writer(&writer);
IndexUpdate& update = *this;
Reflect(json_writer, update);