From c4f2e42881b07e06eae11219d3b0dd4270785c43 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 29 Jun 2009 14:27:45 -0400 Subject: [PATCH] COMP: don't use vector::at(), this doesn't seem to exist everyhwere (http://www.cdash.org/CDash/viewBuildError.php?buildid=366375) Alex --- Source/cmExtraCodeBlocksGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index cbebf984b..44d94a01f 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -148,7 +148,7 @@ void Tree::InsertPath(const std::vector& splitted, it != folders.end(); ++it) { - if ((*it).path == splitted.at(start)) + if ((*it).path == splitted[start]) { if (start + 1 < splitted.size()) { @@ -165,7 +165,7 @@ void Tree::InsertPath(const std::vector& splitted, } // Not found in folders, thus insert Tree newFolder; - newFolder.path = splitted.at(start); + newFolder.path = splitted[start]; if (start + 1 < splitted.size()) { newFolder.InsertPath(splitted, start + 1, fileName);