Remove boost::to_lower_copy
Replaced with inline std::transform lambda for lowercase conversion,
removing Boost dependency.
Tested: added UT and verified all tests passed
Change-Id: Ie875e131b2e0a7d5ab53288928983d640a9d1c12
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/src/utils.cpp b/src/utils.cpp
index de433c8..d88df36 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -235,3 +235,11 @@
         pos += replace.size();
     }
 }
+
+std::string toLowerCopy(std::string_view str)
+{
+    std::string result(str);
+    std::transform(result.begin(), result.end(), result.begin(),
+                   [](unsigned char c) { return asciiToLower(c); });
+    return result;
+}