Skip reallocation in shrink_to_fit for empty fbvector
authorGiuseppe Ottaviano <ott@fb.com>
Wed, 25 Nov 2015 21:39:14 +0000 (13:39 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Wed, 25 Nov 2015 22:20:21 +0000 (14:20 -0800)
commitac06a3093239f271ec81255ed8ad6c48b85e8f16
treec8cf73f311a26e91ad9a4cb9bebfb42f87ec792b
parent140c62d25d930cdbdacaa337d254a2471875a4be
Skip reallocation in shrink_to_fit for empty fbvector

Reviewed By: philippv

Differential Revision: D2696314

fb-gh-sync-id: 105de2d99bb9f5ac82310e37f9302022c103befc
folly/FBVector.h