strongdef: force integer promotion in ostream operator
This commit is contained in:
parent
488646bee7
commit
81538a86d3
@ -67,7 +67,7 @@ namespace cruft::strongdef {
|
||||
std::ostream&
|
||||
operator<< (std::ostream &os, index<TagT,T> const &val)
|
||||
{
|
||||
return os << val.data;
|
||||
return os << +val.data;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user