Fix gcc compilation error in sortkeys

This commit is contained in:
Milo Yip 2019-02-06 20:35:20 +08:00
parent f595f8a6a5
commit 0739a3e88b

View File

@ -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);