Skip to content

Commit 1ac735e

Browse files
committed
Add [[maybe_unused]] to CHAR_T_STRINGVIEW
Address some warnings
1 parent 8e3e8c8 commit 1ac735e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gframe/text_types.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ using wstringview = basic_string_view<wchar_t>;
2222

2323
namespace Detail {
2424
template<typename Char>
25-
static constexpr inline epro::basic_string_view<Char> CHAR_T_STRINGVIEW(epro::stringview stringview, epro::wstringview wstringview) {
25+
static constexpr inline epro::basic_string_view<Char> CHAR_T_STRINGVIEW([[maybe_unused]] epro::stringview stringview, [[maybe_unused]] epro::wstringview wstringview) {
2626
if constexpr(std::is_same_v<Char, wchar_t>) {
2727
return wstringview;
2828
} else {

0 commit comments

Comments
 (0)