On 2014-08-08, 12:20 PM, Nathan Froyd wrote:
----- Original Message -----
OK, I guess that's better than what we have now...  Still I thought the
goal of this class is to avoid static initializers, so why do we want a
trivial destructor for it in release builds?

So the compiler won't generate a static initializer that ensures the 
non-trivial destructor is called at shutdown.  See bug 809931.

Bad bad compiler, look what you've done!!!

OK, I retract my earlier comment then.  :/  Thanks for the reference.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to