Try to fix compile error on Win32-vs70

This commit is contained in:
Eric NOULARD 2012-02-19 00:01:39 +01:00
parent 4da2223ab7
commit 9a8103e929
1 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,7 @@
#include <cmsys/Directory.hxx>
#include <cmsys/Glob.hxx>
#include <algorithm>
//----------------------------------------------------------------------------
static const char *cmDocumentationStandardOptions[][3] =
@ -746,7 +747,7 @@ void cmDocumentation::addCPackStandardDocSections()
void cmDocumentation::addAutomaticVariableSections(const std::string& section)
{
std::vector<std::string>::iterator it;
it = find(this->VariableSections.begin(),
it = std::find(this->VariableSections.begin(),
this->VariableSections.end(),
section);
/* if the section does not exist then add it */