Get rid of wrap-string-view

This commit is contained in:
2022-02-24 13:50:43 -05:00
parent eb6cbebd20
commit 08f6aa2092
10 changed files with 53 additions and 68 deletions

View File

@@ -73,7 +73,7 @@ static void enable_tty_raw() {
assert(status >= 0);
}
static SOCKET open_connection(drv::string_view target, drv::string &err) {
static SOCKET open_connection(std::string_view target, drv::string &err) {
struct addrinfo *addrs = nullptr;
struct addrinfo *goodaddr = nullptr;
struct addrinfo hints;