[libcalamares] warnings-- with a deduction guide
This commit is contained in:
parent
4114a2bbe8
commit
954e8ee3f8
@ -75,4 +75,6 @@ struct cPointerSetter
|
|||||||
|
|
||||||
const T& operator=(const T& v) { m_value = v; return v; }
|
const T& operator=(const T& v) { m_value = v; return v; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template < typename T > cPointerSetter( T p ) -> cPointerSetter<decltype(*p)>;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user