Full error:
error C2552: 'dirs' : non-aggregates cannot be initialized with initializer
list ..\accidental-noise-library\Imaging\erosion.cpp line 28
Here's the MSDN entry :
http://msdn.microsoft.com/en-us/library/0s6730bb(v=vs.90).aspx
Using the constructor explicitly works:
static SDrop dirs[8]=
{
SDrop(-1,-1),
SDrop(0,-1),
SDrop(1,-1),
SDrop(-1,0),
SDrop(1,0),
SDrop(-1,1),
SDrop(0,1),
SDrop(1,1)
};
I tried to do a commit, but I would probably need permission for that.
Cheers
Original issue reported on code.google.com by uge...@gmx.net on 9 Aug 2013 at 2:37
Original issue reported on code.google.com by
uge...@gmx.net
on 9 Aug 2013 at 2:37