No need to check vector size before clear()
Merge pull request #425 from asmaloney:vector_empty