[PATCH] D19698: [libcxx] [test] Need to include <memory> for std::unique_ptr.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 17:10:00 PDT 2016


STL_MSFT created this revision.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.

[libcxx] [test] Need to include <memory> for std::unique_ptr.

Fixes MSVC "error C2039: 'unique_ptr': is not a member of 'std'".

http://reviews.llvm.org/D19698

Files:
  test/std/utilities/meta/meta.rel/is_callable.pass.cpp

Index: test/std/utilities/meta/meta.rel/is_callable.pass.cpp
===================================================================
--- test/std/utilities/meta/meta.rel/is_callable.pass.cpp
+++ test/std/utilities/meta/meta.rel/is_callable.pass.cpp
@@ -18,6 +18,7 @@
 
 #include <type_traits>
 #include <functional>
+#include <memory>
 
 #include "test_macros.h"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19698.55508.patch
Type: text/x-patch
Size: 361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160429/512b7ddd/attachment.bin>


More information about the cfe-commits mailing list