Skip to content

why root_schema be implemented as unique_ptr in json-validator.cpp,could I use it as shared_ptr? #1908

@kelaicai

Description

@kelaicai

hi! firend, I use original json-validator object in multithread enviroment, but core in second get validator, and I see the source code,find it pass by right value reference and use a unique_ptr,i want to know : why use it as a unique_ptr ? forgive my poor English,thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    solution: invalidthe issue is not related to the library

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions