[cmake-commits] king committed cmComputeLinkDepends.cxx 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Jan 27 15:10:00 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv25389/Source

Modified Files:
	cmComputeLinkDepends.cxx 
Log Message:
COMP: Use kwsys to get STL set_intersection algorithm.


Index: cmComputeLinkDepends.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkDepends.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cmComputeLinkDepends.cxx	27 Jan 2008 18:42:49 -0000	1.1
+++ cmComputeLinkDepends.cxx	27 Jan 2008 20:09:58 -0000	1.2
@@ -21,7 +21,7 @@
 #include "cmMakefile.h"
 #include "cmTarget.h"
 
-#include <algorithm>
+#include <cmsys/stl/algorithm>
 
 /*
 
@@ -397,9 +397,9 @@
     for(++i; i != sets->end(); ++i)
       {
       DependSet intersection;
-      set_intersection(common.begin(), common.end(),
-                       i->begin(), i->end(),
-                       std::inserter(intersection, intersection.begin()));
+      cmsys_stl::set_intersection
+        (common.begin(), common.end(), i->begin(), i->end(),
+         std::inserter(intersection, intersection.begin()));
       common = intersection;
       }
 



More information about the Cmake-commits mailing list