scummvm/scummvm — comment on commit f14eba23d947e72ebb99b9bc0a0b4230ecdffa0d
File:  line 0
By bluegr:

This commit throws the following warning in MSVC, in common/array.h:240:

warning C4345: behavior change: an object of POD type constructed with an initializer of the form () will be default-initialized

The line in question is in resize():
new ((void *)&_storage[i]) T();

I don't understand why you're doing the casts here :/

Here's the relevant MSDN link:
http://msdn.microsoft.com/en-us/library/wewb47ee%28v=VS.100%29.aspx
and another relevant link:
http://forum.emule-project.net/index.php?showtopic=38227

After reading the above, the warning itself looks "innocent" enough, but should it be silenced in this case, or should the offending line be changed?