diff options
author | Milo Yip <miloyip@gmail.com> | 2019-02-06 20:35:20 +0800 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2019-02-06 20:35:20 +0800 |
commit | 0739a3e88b5f40e6edf0a707f36d7548d84d85c8 (patch) | |
tree | 4004234b46238f52efd62cd4a68cb6ee59935e33 | |
parent | f595f8a6a596d204423a380dfb145e593b647c07 (diff) | |
download | rapidjson-0739a3e88b5f40e6edf0a707f36d7548d84d85c8.tar.gz |
Fix gcc compilation error in sortkeys
-rw-r--r-- | example/sortkeys/sortkeys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |