mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
Fix IndexUpdate::ToString
This commit is contained in:
parent
886f6f4a2c
commit
699cf4b506
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user