From 681b488fc0ebca964eddf2a54575dc41901bc520 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 5 Aug 2023 12:02:14 +0100 Subject: Update usages of stdalgo::string::equalsci to use insp::equalsci. --- include/configreader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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. -- cgit v1.3.1-10-gc9f91