Make it compile again
ISO C++ forbids applying 'sizeof' to an expression of function type
This commit is contained in:
parent
d3657a8944
commit
bb6408d553
@ -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 << ' '
|
||||||
|
Loading…
Reference in New Issue
Block a user