Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiloyip@gmail.com <miloyip@gmail.com@c5894555-1306-4e8d-425f-1f6f381ee07c>2011-11-21 22:54:22 +0400
committermiloyip@gmail.com <miloyip@gmail.com@c5894555-1306-4e8d-425f-1f6f381ee07c>2011-11-21 22:54:22 +0400
commitd26a6e8b4de7c6fbffead7a559f013158b4d6fc0 (patch)
treec77268e18deaebd9ddb2e5d361cc956471cc797b /example/pretty
parent04515a639e48d46d7abbd45b2cf6462ea681ac62 (diff)
Added missing Flush() in examples. Flush() will be called in Writer later.
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@25 c5894555-1306-4e8d-425f-1f6f381ee07c
Diffstat (limited to 'example/pretty')
-rw-r--r--example/pretty/pretty.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/pretty/pretty.cpp b/example/pretty/pretty.cpp
index dae41b46..f304fbbb 100644
--- a/example/pretty/pretty.cpp
+++ b/example/pretty/pretty.cpp
@@ -24,5 +24,6 @@ int main(int argc, char* argv[]) {
return 1;
}
+ os.Flush();
return 0;
}