aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2019-02-06 20:35:20 +0800
committerMilo Yip <miloyip@gmail.com>2019-02-06 20:35:20 +0800
commit0739a3e88b5f40e6edf0a707f36d7548d84d85c8 (patch)
tree4004234b46238f52efd62cd4a68cb6ee59935e33
parentf595f8a6a596d204423a380dfb145e593b647c07 (diff)
downloadrapidjson-0739a3e88b5f40e6edf0a707f36d7548d84d85c8.tar.gz
Fix gcc compilation error in sortkeys
-rw-r--r--example/sortkeys/sortkeys.cpp2
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);