Added Flush() to concept stream. Add this new member function to all streams.

Writer and PrettyWriter automatically calls Flush() at the end of JSON text.

git-svn-id: https://rapidjson.googlecode.com/svn/trunk@27 c5894555-1306-4e8d-425f-1f6f381ee07c
This commit is contained in:
miloyip@gmail.com
2011-11-22 05:10:46 +00:00
parent 99de5312e6
commit 08d25ad177
10 changed files with 24 additions and 11 deletions

View File

@@ -24,6 +24,5 @@ int main(int argc, char* argv[]) {
return 1;
}
os.Flush();
return 0;
}