From 9d0076ab91bfc3fd2514b9f0d612b4049b5bbaf7 Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 2 Aug 2022 08:21:53 -0400 Subject: Change debugger command handler parameter vector element type from std::string to std::string_view --- src/lib/util/corestr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/util/corestr.h') diff --git a/src/lib/util/corestr.h b/src/lib/util/corestr.h index d5b79ddb5fa..b000d76731c 100644 --- a/src/lib/util/corestr.h +++ b/src/lib/util/corestr.h @@ -77,6 +77,9 @@ int strreplace(std::string &str, const std::string& search, const std::string& r namespace util { +bool strequpper(std::string_view str, std::string_view ucstr); +bool streqlower(std::string_view str, std::string_view lcstr); + // based on Jaro-Winkler distance - returns value from 0.0 (totally dissimilar) to 1.0 (identical) double edit_distance(std::u32string_view lhs, std::u32string_view rhs); -- cgit v1.2.3-70-g09d2