From 1f5e574d873668adbfd0c392e01ee766a39a13c2 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Thu, 17 Nov 2016 16:30:12 -0800 Subject: [PATCH] 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 --- folly/test/SingletonTestStructs.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1