[libcxx] r252610 - Explicitly #include <utility> so that we get std::move. Thanks to Walter for the bug report.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 10 07:22:08 PST 2015


Author: marshall
Date: Tue Nov 10 09:22:08 2015
New Revision: 252610

URL: http://llvm.org/viewvc/llvm-project?rev=252610&view=rev
Log:
Explicitly #include <utility> so that we get std::move. Thanks to Walter for the bug report.

Modified:
    libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp

Modified: libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp?rev=252610&r1=252609&r2=252610&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp Tue Nov 10 09:22:08 2015
@@ -40,6 +40,7 @@
 
 #include <functional>
 #include <type_traits>
+#include <utilty> // for std::move
 #include <cassert>
 
 struct NonCopyable {




More information about the cfe-commits mailing list