Skip to content

Commit

Permalink
Fix gcc compilation error in sortkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Feb 6, 2019
1 parent f595f8a commit 0739a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/sortkeys/sortkeys.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 0739a3e

Please sign in to comment.