Hi, I get an unused variable warning when compiling this program (test.cpp): ``` #include "json.hpp" using json = nlohmann::json; int main() { json object; json patch = json::array(); object = object.patch(patch); return 0; } ``` Compile command is: `g++ -Wall -std=c++11 test.cpp json.hpp` Compiler version: `g++ (Debian 6.1.1-11) 6.1.1 20160802` Thanks for the amazing library!
Activity
nlohmann commentedon Sep 11, 2016
For reference, the warning is