sorted_vector containers have a shrink_to_fit() method
authorMarc Celani <marccelani@fb.com>
Tue, 5 Aug 2014 13:04:24 +0000 (06:04 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 14 Aug 2014 18:49:04 +0000 (11:49 -0700)
commit7ce33845b2248016806757217e513cce1ee270b6
tree465fa8e0ef1d7464f8cdeb1061843148f3ace83d
parent2215f6c0fbbc6735ff5f2226a9b26e2413bb5196
sorted_vector containers have a shrink_to_fit() method

Summary: Adds a shrink_to_fit() method to sorted vector types.

Test Plan: unit test

Reviewed By: mshneer@fb.com

FB internal diff: D1477864
folly/sorted_vector_types.h
folly/test/sorted_vector_test.cpp