diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 17:58:00 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 17:58:47 +0300 |
commit | 8f14a22e5bbb71d90577b35a09ba8ffae04bfe9c (patch) | |
tree | 96bce706024b3ec200170d5e090ac41615887606 /libbutl/project-name.mxx | |
parent | f488e6473a7d0562c0e2df6d107a36de4d30d9da (diff) |
Rename casecmp() function and case_compare_[c_]string structs to icasecmp() and icase_compare_[c_]string
Diffstat (limited to 'libbutl/project-name.mxx')
-rw-r--r-- | libbutl/project-name.mxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <libbutl/utility.mxx> #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_; |