From: Christopher Dykes Date: Fri, 18 Nov 2016 00:30:12 +0000 (-0800) Subject: Include atomic in SingletonTestStructs.cpp X-Git-Tag: v2016.11.21.00~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1f5e574d873668adbfd0c392e01ee766a39a13c2;p=folly.git Include atomic in SingletonTestStructs.cpp Summary: This was relying on it being transitively included by system headers, which isn't the case under MSVC. Reviewed By: yfeldblum Differential Revision: D4199882 fbshipit-source-id: c25dc1e86687e19851923a1a660a91bcf63f0e6d --- diff --git a/folly/test/SingletonTestStructs.cpp b/folly/test/SingletonTestStructs.cpp index 5cc84fd3..64db419b 100644 --- a/folly/test/SingletonTestStructs.cpp +++ b/folly/test/SingletonTestStructs.cpp @@ -16,6 +16,8 @@ #include +#include + namespace { // A simple class that tracks how often instances of the class and // subclasses are created, and the ordering. Also tracks a global