summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testUVRAII.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-15 14:59:46 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-15 15:00:50 (GMT)
commitcd0881be61149346649f3aef9b69d58bd7a2549a (patch)
treec61c16ad2cc901cba8b0a9be49693268c7ceea41 /Tests/CMakeLib/testUVRAII.cxx
parent2033c1e56fd3d9367fc4eb9a2595c3c592575d54 (diff)
downloadCMake-cd0881be61149346649f3aef9b69d58bd7a2549a.zip
CMake-cd0881be61149346649f3aef9b69d58bd7a2549a.tar.gz
CMake-cd0881be61149346649f3aef9b69d58bd7a2549a.tar.bz2
IWYU: Update CMake code for IWYU built with Clang 6
IWYU now correctly requires `<utility>` for `std::move`. It also requires a container header when used via a range-based for loop.
Diffstat (limited to 'Tests/CMakeLib/testUVRAII.cxx')
-rw-r--r--Tests/CMakeLib/testUVRAII.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/testUVRAII.cxx b/Tests/CMakeLib/testUVRAII.cxx
index e165ff7..1c1da76 100644
--- a/Tests/CMakeLib/testUVRAII.cxx
+++ b/Tests/CMakeLib/testUVRAII.cxx
@@ -1,9 +1,9 @@
#include "cmUVHandlePtr.h"
-#include <algorithm>
#include <chrono>
#include <iostream>
#include <thread>
+#include <utility>
#include "cm_uv.h"