vec: Replace 'get' with operator [] because 'get' was removed in recent nightlies