Skip to content

Commit

Permalink
fixed ambiguous of ex3_19
Browse files Browse the repository at this point in the history
  • Loading branch information
pezy committed Jun 21, 2015
1 parent abd7211 commit c493c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch03/ex3_19.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ int main()
vector<int> ivec1(10, 42);
vector<int> ivec2{42, 42, 42, 42, 42, 42, 42, 42, 42, 42};
vector<int> ivec3;
for (decltype(ivec3.size()) i=0; i != 10; ++i)
for (int i=0; i != 10; ++i)
ivec3.push_back(42);

std::cout << "The first one more better!" << std::endl;
std::cout << "The first one more better!" << std::endl;

return 0;
}

0 comments on commit c493c6e

Please sign in to comment.