13
0

Make it compile again

ISO C++ forbids applying 'sizeof' to an expression of function type
This commit is contained in:
Robin Gareus 2019-03-04 21:42:21 +01:00
parent d3657a8944
commit bb6408d553
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -263,7 +263,7 @@ static ostream& operator<< (ostream& ostr, LTCFrame& a)
static ostream& operator<< (ostream& ostr, SMPTETimecode& t) static ostream& operator<< (ostream& ostr, SMPTETimecode& t)
{ {
for (size_t i = 0; i < sizeof (timezone); ++i) { for (size_t i = 0; i < sizeof (t.timezone); ++i) {
ostr << t.timezone[i]; ostr << t.timezone[i];
} }
ostr << ' ' ostr << ' '