diff options
| author | 2023-08-05 12:02:14 +0100 | |
|---|---|---|
| committer | 2023-08-11 12:03:09 +0100 | |
| commit | 681b488fc0ebca964eddf2a54575dc41901bc520 (patch) | |
| tree | 8d5953e1ecc38e7abc8e4369e71a2f3db2a1744a /include | |
| parent | Move stdalgo::string::{equalsci,tocstr} to utility/string. (diff) | |
Update usages of stdalgo::string::equalsci to use insp::equalsci.
Diffstat (limited to 'include')
| -rw-r--r-- | include/configreader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h index 667ef84d0..da712713b 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -152,7 +152,7 @@ public: return def; for (const auto& [enumkey, enumval] : enumvals) - if (stdalgo::string::equalsci(val, enumkey)) + if (strcasecmp(val.c_str(), enumkey) == 0) return enumval; // Unfortunately we have to iterate this twice. |
