added a missing hook to IndexedMemPool's testing harness
authorNathan Bronson <ngbronson@fb.com>
Fri, 24 Jul 2015 21:57:33 +0000 (14:57 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Fri, 24 Jul 2015 22:22:14 +0000 (15:22 -0700)
commit30e9f34e93579b255767fc1680c81fcd9c023ba9
treeb131050e11b35a19be54d380384b6d32aeb3f73e
parent29d3553cca2cfca3238e2d675a0cedca03528509
added a missing hook to IndexedMemPool's testing harness

Summary: IndexedMemPool had one bare usage of std::atomic, rather than
the templated type Atom.  This doesn't affect any non-testing template
instantiations, because those two are usually synonyms, but it could cause
spurious failures of DeterministicSchedule tests.  Found via inspection,
not via failed tests.

Reviewed By: @yfeldblum

Differential Revision: D2277424
folly/IndexedMemPool.h