Skip to content

Commit d76f650

Browse files
committed
Making older clangs happy
1 parent 083411c commit d76f650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command_line.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static auto addInterface(CommandLine & cmdline, sys_string val) {
6262
}
6363

6464
static auto setUuid(CommandLine & cmdline, sys_string val) {
65-
if (auto maybeUuid = Uuid::from_chars(std::string_view(val.c_str(), val.storage_size())))
65+
if (auto maybeUuid = Uuid::from_chars(std::span(val.c_str(), val.storage_size())))
6666
cmdline.uuid = *maybeUuid;
6767
throw Parser::ValidationError("invalid uuid");
6868
}

0 commit comments

Comments
 (0)