From 9a8103e929de7569fd2e5459a6676dff64d88892 Mon Sep 17 00:00:00 2001 From: Eric NOULARD Date: Sun, 19 Feb 2012 00:01:39 +0100 Subject: [PATCH] Try to fix compile error on Win32-vs70 --- Source/cmDocumentation.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 1fb8ab628..904a157b6 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -16,6 +16,7 @@ #include #include +#include //---------------------------------------------------------------------------- static const char *cmDocumentationStandardOptions[][3] = @@ -746,9 +747,9 @@ void cmDocumentation::addCPackStandardDocSections() void cmDocumentation::addAutomaticVariableSections(const std::string& section) { std::vector::iterator it; - it = find(this->VariableSections.begin(), - this->VariableSections.end(), - section); + it = std::find(this->VariableSections.begin(), + this->VariableSections.end(), + section); /* if the section does not exist then add it */ if (it==this->VariableSections.end()) {