i starts at 1 and is not greater than 10.
i > 10
should be
i < 10
Note, though, that there are only two blocks so this will cause a problem. Note also that the vector index should start at zero, not one.
Try:
for (auto& block : blockContainer)
block.draw(window);
Or, if you still want to use your original counter form:
for (unsigned int i = 0; i < 10; ++i)
blockContainer[i].draw(window);
This assumes that you are using:
void Block::draw(sf::RenderWindow& window)
{
window.draw(block);
}
(as mentioned above)