open-source-parsers / jsoncpp

A C++ library for interacting with JSON.
Other
8.15k stars 2.64k forks source link

Fixed setting JSONCPP_USE_SECURE_MEMORY definition #1479

Closed TsynkPavel closed 1 month ago

TsynkPavel commented 1 year ago

Before, JSONCPP_USING_SECURE_MEMORY was always set to 0. Now, to enable JSONCPP_USING_SECURE_MEMORY, you need to pass "-DJSONCPP_USE_SECURE_MEMORY " when configuring the project.

issue: #1399