Commit 7606d05f authored by miloyip@gmail.com's avatar miloyip@gmail.com

Fixed Issue 45: const Value cannot be stringify

git-svn-id: https://rapidjson.googlecode.com/svn/trunk@84 c5894555-1306-4e8d-425f-1f6f381ee07c
parent 9b960b6b
......@@ -517,7 +517,7 @@ int z = a[0u].GetInt(); // This works too.
\param handler An object implementing concept Handler.
*/
template <typename Handler>
GenericValue& Accept(Handler& handler) {
const GenericValue& Accept(Handler& handler) const {
switch(GetType()) {
case kNullType: handler.Null(); break;
case kFalseType: handler.Bool(false); break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment