Avoid copy in range-based for loops
As coverity reports there are some range-based for loops in Kea code where the range-expression (ab)using the auto
keyword is copied at eache iterations when a better declaration (i.e. const auto&
) works well with a better performance (compilers should infer a better type but this is not specified for C++...).