libutil: Use c++ style cast

This commit is contained in:
Jacek Galowicz 2023-10-19 18:25:17 +01:00
parent 55f06b6f30
commit b0f4ac29d3

View file

@ -312,8 +312,7 @@ public:
template<typename T>
std::ostream & operator <<(std::ostream & str, const BaseSetting<T> & opt)
{
str << (const T &) opt;
return str;
return str << static_cast<const T &>(opt);
}
template<typename T>