There was an error while loading. Please reload this page.
1 parent 3a0ecd1 commit 41b9522Copy full SHA for 41b9522
1 file changed
โsrc/gui/src/utils.cppโ
@@ -39,7 +39,7 @@ StringOrLiteral::operator const char*() const {
39
}
40
41
StringOrLiteral::operator std::string_view() const {
42
- return std::visit([](auto&& data) -> std::string_view { return {data}; }, m_data);
+ return std::visit([](auto&& data) -> std::string_view { return std::string_view{data}; }, m_data);
43
44
45
std::string urlDecode(std::string_view value) {
0 commit comments