json_pointer__pop_back.cpp example does not compile #3600
Labels
kind: bug
release item: 🐛 bug fix
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
Description
Example https://github.com/nlohmann/json/blob/develop/docs/examples/json_pointer__pop_back.cpp does not compile.
It used to compile. Not sure when this broke.
Reproduction steps
Call
Expected vs. actual results
Expected: code compiles
Actual:
GCC:
Clang:
Minimal code example
No response
Error messages
No response
Compiler and operating system
Apple clang version 13.1.6 (clang-1316.0.21.2.5) and g++-11 (Homebrew GCC 11.3.0_2) 11.3.0
Library version
develop
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: