diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-06-29 18:27:45 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-06-29 18:27:45 (GMT) |
commit | c4f2e42881b07e06eae11219d3b0dd4270785c43 (patch) | |
tree | d7ebbbbbc85b31d0f95b40d8c24819e119675b4a /Source/cmExtraCodeBlocksGenerator.cxx | |
parent | f33a27abd6c6ea38ea2dae28050d2f6f8b6ae820 (diff) | |
download | CMake-c4f2e42881b07e06eae11219d3b0dd4270785c43.zip CMake-c4f2e42881b07e06eae11219d3b0dd4270785c43.tar.gz CMake-c4f2e42881b07e06eae11219d3b0dd4270785c43.tar.bz2 |
COMP: don't use vector::at(), this doesn't seem to exist everyhwere
(http://www.cdash.org/CDash/viewBuildError.php?buildid=366375)
Alex
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeBlocksGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index cbebf98..44d94a0 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -148,7 +148,7 @@ void Tree::InsertPath(const std::vector<std::string>& 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<std::string>& 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); |