summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornanoric <nanoric@qq.com>2022-06-10 14:13:22 (GMT)
committerBrad King <brad.king@kitware.com>2022-06-10 14:53:49 (GMT)
commitbc4c0d657a15b4500410a350f8c7c8e49fad366f (patch)
tree8c6c0398d2d742c076b5c51e7a378e5159a61a62
parentd63ec8645f5b296bb6b09f47240f26cf44994429 (diff)
downloadCMake-bc4c0d657a15b4500410a350f8c7c8e49fad366f.zip
CMake-bc4c0d657a15b4500410a350f8c7c8e49fad366f.tar.gz
CMake-bc4c0d657a15b4500410a350f8c7c8e49fad366f.tar.bz2
cmWindowsRegistry: Add missing <cstdint> include
It is needed for `std::uint8_t`, but was left out of commit 8d7e80cf3d (find_* commands: add control over Windows registry views, 2022-04-16). For some reason the include-what-you-use tool does not think the include is needed, so add an `IWYU pragma` to keep it.
-rw-r--r--Source/cmWindowsRegistry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmWindowsRegistry.h b/Source/cmWindowsRegistry.h
index bb9090e..2eed297 100644
--- a/Source/cmWindowsRegistry.h
+++ b/Source/cmWindowsRegistry.h
@@ -2,6 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#pragma once
+#include <cstdint> // IWYU pragma: keep
#include <string>
#include <vector>