We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
g++ -Wall -std=c++11 test.cpp json.hpp
Compiler version: g++ (Debian 6.1.1-11) 6.1.1 20160802
g++ (Debian 6.1.1-11) 6.1.1 20160802
Thanks for the amazing library!
The text was updated successfully, but these errors were encountered:
For reference, the warning is
src/json.hpp:10119:33: warning: unused variable 'x' [-Wunused-variable] basic_json& x = result.at(top_pointer); ^
Sorry, something went wrong.
f922426
nlohmann
No branches or pull requests
Hi, I get an unused variable warning when compiling this program (test.cpp):
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!
The text was updated successfully, but these errors were encountered: