mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-31 15:36:47 +02:00
libutil: Use c++ style cast
This commit is contained in:
parent
55f06b6f30
commit
b0f4ac29d3
1 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue