diff --git a/src/str.cpp b/src/str.cpp index 0cf207e6..7fc3d3f3 100644 --- a/src/str.cpp +++ b/src/str.cpp @@ -349,8 +349,8 @@ str::replace(const std::string &s_, } std::string -str::remove_prefix(const std::string &str, - const std::string &prefix) +str::remove_prefix(const std::string &str, + const std::string_view prefix) { - + if(str::startswith( }