Supress warnings in array

[SVN r53105]
This commit is contained in:
Steven Watanabe
2009-05-19 03:00:53 +00:00
parent 9cf5e0c9a1
commit 471bc9bf06
3 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@ int main()
// copy and change order
boost::array<std::string,4> seasons_orig = seasons;
for (unsigned i=seasons.size()-1; i>0; --i) {
for (std::size_t i=seasons.size()-1; i>0; --i) {
std::swap(seasons.at(i),seasons.at((i+1)%seasons.size()));
}