Commit 0739a3e8 authored by Milo Yip's avatar Milo Yip

Fix gcc compilation error in sortkeys

parent f595f8a6
...@@ -26,7 +26,7 @@ struct NameComparator { ...@@ -26,7 +26,7 @@ struct NameComparator {
}; };
int main() { int main() {
Document d = Document(kObjectType); Document d(kObjectType);
Document::AllocatorType &allocator = d.GetAllocator(); Document::AllocatorType &allocator = d.GetAllocator();
d.AddMember("zeta", Value().SetBool(false), allocator); d.AddMember("zeta", Value().SetBool(false), allocator);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment