Просмотр исходного кода

COMP: auto_ptr will not compile without including memory on some platforms

David Cole 17 лет назад
Родитель
Сommit
e7948f89f9
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Source/CPack/cpack.cxx

+ 1 - 0
Source/CPack/cpack.cxx

@@ -29,6 +29,7 @@
 #include "cmCPackLog.h"
 
 #include <cmsys/CommandLineArguments.hxx>
+#include <memory> // auto_ptr
 
 //----------------------------------------------------------------------------
 static const char * cmDocumentationName[][3] =