Skip to content

Commit b0be669

Browse files
committed
update
1 parent 343184f commit b0be669

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/generation/cpp-min/templates/generate.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct CtStr {
2626
std::copy_n(str, N, data);
2727
}
2828
[[nodiscard]] constexpr operator std::string_view() const noexcept {
29-
return std::string_view(data, N - 1);
29+
return std::string_view{data, N - 1};
3030
}
3131
};
3232
template <std::size_t N>

0 commit comments

Comments
 (0)