Skip to content

Commit 41b9522

Browse files
committed
Make the compiler shut up.
1 parent 3a0ecd1 commit 41b9522

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

โ€Žsrc/gui/src/utils.cppโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ StringOrLiteral::operator const char*() const {
3939
}
4040

4141
StringOrLiteral::operator std::string_view() const {
42-
return std::visit([](auto&& data) -> std::string_view { return {data}; }, m_data);
42+
return std::visit([](auto&& data) -> std::string_view { return std::string_view{data}; }, m_data);
4343
}
4444

4545
std::string urlDecode(std::string_view value) {

0 commit comments

Comments
ย (0)