[PATCH] D18460: Add <atomic> to ThreadPool.h, since std::atomic is used

Dimitry Andric via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 13:44:32 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL264335: Add <atomic> to ThreadPool.h, since std::atomic is used (authored by dim).

Changed prior to commit:
  http://reviews.llvm.org/D18460?vs=51597&id=51599#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D18460

Files:
  llvm/trunk/include/llvm/Support/ThreadPool.h

Index: llvm/trunk/include/llvm/Support/ThreadPool.h
===================================================================
--- llvm/trunk/include/llvm/Support/ThreadPool.h
+++ llvm/trunk/include/llvm/Support/ThreadPool.h
@@ -33,6 +33,7 @@
 #pragma warning(pop)
 #endif
 
+#include <atomic>
 #include <condition_variable>
 #include <functional>
 #include <memory>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18460.51599.patch
Type: text/x-patch
Size: 360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160324/9557409a/attachment.bin>


More information about the llvm-commits mailing list