Skip to content

xcode complains about valueToString not being static #489

Closed
@jbluepolarbear

Description

@jbluepolarbear

JSONCPP_STRING valueToString(double value, bool useSpecialFloats, unsigned int precision)
This is a warning, but we compile with warnings as errors and that is why I noticed this. I added static in of the definition to let the compiler know that this function is not accessible outside of this source file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions