Skip to content
Commit 925c8696 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

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
parent 856b2c2e
Pipeline #549849 passed with stage
in 12 minutes and 7 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment