OS X doesn't support constructor priorities
authorJosh Watzman <jwatzman@fb.com>
Thu, 7 May 2015 16:42:01 +0000 (09:42 -0700)
committerPraveen Kumar Ramakrishnan <praveenr@fb.com>
Tue, 12 May 2015 00:02:26 +0000 (17:02 -0700)
commitc9f8c1dba06e4ef4f94a84b4ccb4324b20a14e09
tree2c95f280c28f4fbb8894c42d13e971d8e9ce9370
parentc5fa8a9f883f5fe9de9aa38f0267354fb0e774c7
OS X doesn't support constructor priorities

Summary:
OS X doesn't support constructor init priorities, at all. AIUI,
it's a limitation of their actual binary format and loader, not just a
tooling/compiler limitation.

This particular usage appears to just be for for logging/bug-finding
purposes, so it looks like just removing the priority on OS X isn't the
end of the world?

Test Plan: g++-4.9 on OS X compiles this file now.

Reviewed By: njormrod@fb.com

Subscribers: ldbrandy, jdelong, folly-diffs@, yfeldblum, chalfant

FB internal diff: D2040557

Signature: t1:2040557:1430975025:73f817b5d19a18dca6b19ba783dbea99192cbc41
folly/Singleton.cpp