From 8f14a22e5bbb71d90577b35a09ba8ffae04bfe9c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 28 Sep 2019 17:58:00 +0300 Subject: Rename casecmp() function and case_compare_[c_]string structs to icasecmp() and icase_compare_[c_]string --- libbutl/project-name.mxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/project-name.mxx') diff --git a/libbutl/project-name.mxx b/libbutl/project-name.mxx index 5f5a586..dce1c7a 100644 --- a/libbutl/project-name.mxx +++ b/libbutl/project-name.mxx @@ -22,7 +22,7 @@ export module butl.project_name; import std.core; import std.io; #endif -import butl.utility; // casecmp(), sanitize_identifier() +import butl.utility; // icasecmp(), sanitize_identifier() #else #include #endif @@ -100,7 +100,7 @@ LIBBUTL_MODEXPORT namespace butl // int compare (const project_name& n) const {return compare (n.value_);} int compare (const std::string& n) const {return compare (n.c_str ());} - int compare (const char* n) const {return butl::casecmp (value_, n);} + int compare (const char* n) const {return icasecmp (value_, n);} private: std::string value_; -- cgit v1.1