Simplify code and make it more consistent
- Use
std::all_of
for checking the kiosk authorization. This is far more readable. - Add
const
where allowed - Use enhanced for loops instead of iterators. These loops are really simple and in most cases the container is already const , so this change should be low risk.