I have the following simple iteration over yaml-cpp node that contains a list of items:
for (const auto &group_entry: node["groups"]) { /*...*/ }
The code compiles and works as expected, but in CLion IDE it is addressed as an error, claiming "const YAML::Node' is not a valid range type". Is it any problem with this and if not, how could I remove this annoying highlight? This is a C++17 project.