Sfoglia il codice sorgente

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 anni fa
parent
commit
a1ca50d9fc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Source/cmMachO.h

+ 1 - 0
Source/cmMachO.h

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