summaryrefslogtreecommitdiff
path: root/src/config/ConfigDataValues.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/ConfigDataValues.hpp')
-rw-r--r--src/config/ConfigDataValues.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigDataValues.hpp b/src/config/ConfigDataValues.hpp
index 2fad9277..d17e7672 100644
--- a/src/config/ConfigDataValues.hpp
+++ b/src/config/ConfigDataValues.hpp
@@ -158,7 +158,7 @@ class CFontWeightConfigValueData : public ICustomConfigValueData {
void parseWeight(const std::string& strWeight) {
auto lcWeight{strWeight};
- transform(strWeight.begin(), strWeight.end(), lcWeight.begin(), ::tolower);
+ std::ranges::transform(strWeight, lcWeight.begin(), ::tolower);
// values taken from Pango weight enums
const auto WEIGHTS = std::map<std::string, int>{