瀏覽代碼

cmMachO: Add missing header for std::unique_ptr

Builds were previously relying on <memory> being included
by <string>, but not all compilers do that and we shouldn't
be relying on that anyway.
Craig Scott 4 年之前
父節點
當前提交
a1ca50d9fc
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Source/cmMachO.h

+ 1 - 0
Source/cmMachO.h

@@ -5,6 +5,7 @@
 #include "cmConfigure.h" // IWYU pragma: keep
 #include "cmConfigure.h" // IWYU pragma: keep
 
 
 #include <iosfwd>
 #include <iosfwd>
+#include <memory>
 #include <string>
 #include <string>
 
 
 #if !defined(CMake_USE_MACH_PARSER)
 #if !defined(CMake_USE_MACH_PARSER)