Skip to content

Commit c2b29fe

Browse files
committed
Fix -Wignored-qualifiers improved in clang20 in util
Fix errors from [here](https://nda.ya.ru/t/6hgrAk757JpcZP commit_hash:46e426f3170c5b9881f552314f602e57662334a6
1 parent 931dcd8 commit c2b29fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/generic/typetraits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class TTypeTraits<void>: public TTypeTraitsBase<void> {};
133133
struct TBase { \
134134
void method(); \
135135
}; \
136-
class THelper: public T, public TBase { \
136+
class THelper: public std::remove_const_t<T>, public TBase { \
137137
public: \
138138
template <class T1> \
139139
inline THelper(const T1& = T1()) { \

0 commit comments

Comments
 (0)