-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63960/
-----------------------------------------------------------

Review request for mesos, Benjamin Mahler and Michael Park.


Repository: mesos


Description
-------

When converting collections of protobuf `Resource` to `Resources`,
`std::vector` could be resized several times. This patch ensures that
there is enough capacity to fit all resources in `vector` and avoid
resizes.


Diffs
-----

  src/common/resources.cpp 4ccfdc162c8e875a4c37b81123a4f61fccdda5e6 


Diff: https://reviews.apache.org/r/63960/diff/1/


Testing
-------

make check


Thanks,

Dmitry Zhuk

Reply via email to