kcms/region_language: various c++ improvements
- use contains where we check for things containing stuff - don't const vars when it gets in the way of automatic move - don't coerce types where possible - use switch-case where possible - const functions where possible - prefer switching over concrete types instead of generic int - auto where possible - pass const-refs into functions where possible - don't declare multiple variables in one line
Please register or sign in to comment