Use operator[] instead of insert to replace elements in the vector.
Use operator[] instead of insert to replace elements in the vector.

insert of course inserts a /new/ element, instead of replacing an
existing one.

eglimi/cpptime,wisoltech/cpptime