Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenericValue: fixup construction from NumberType #10

Merged
merged 1 commit into from
Jun 25, 2014

Commits on Jun 25, 2014

  1. GenericValue: fixup construction from NumberType

    Constructing an empty GenericValue with a specific Type has failed
    for any kNumberType (Int, Int64, Double...) due to incomplete definition
    of the corresponding default flag value.
    
    This patch adds a new constant kNumberAnyFlag to the flags enumeration
    in GenericValue to cover this case.
    
    This fixes http://code.google.com/p/rapidjson/issues/detail?id=57
    pah committed Jun 25, 2014
    Configuration menu
    Copy the full SHA
    d4ff956 View commit details
    Browse the repository at this point in the history