fixing rwspinlock test Summary:
authorXin Liu <xliu@fb.com>
Fri, 25 Jan 2013 18:21:44 +0000 (10:21 -0800)
committerJordan DeLong <jdelong@fb.com>
Mon, 4 Feb 2013 17:25:59 +0000 (09:25 -0800)
commita60c864687bcc6cc9da782c4cb277e3002207a53
tree4680d436a92efaffde7941fc1a359346a7c1b1a8
parent378a3bbc7ec5298f92f8c43083c2b0f7836348a6
fixing rwspinlock test Summary:

Summary:
gcc seems to treat this as declaration:

RWSpinLock::UpgradedHolder ug(
RWSpinLock::WriteHolder(
RWSpinLock::ReadHolder(&lock)));

Test Plan: add LOG(INFO) to make sure the holder converstions did get executed.

Reviewed By: marcelo.juchem@fb.com

FB internal diff: D688748
folly/test/RWSpinLockTest.cpp