Use new std::vec functions
Merge pull request #2 from jhasse/patch-vec

Use new std::vec functions