diff --git a/example/sortkeys/sortkeys.cpp b/example/sortkeys/sortkeys.cpp index fe60118..022a6a4 100644 --- a/example/sortkeys/sortkeys.cpp +++ b/example/sortkeys/sortkeys.cpp @@ -26,7 +26,7 @@ struct NameComparator { }; int main() { - Document d = Document(kObjectType); + Document d(kObjectType); Document::AllocatorType &allocator = d.GetAllocator(); d.AddMember("zeta", Value().SetBool(false), allocator);