Fix resplit | batch
authorTom Jackson <tjackson@fb.com>
Fri, 26 Jun 2015 20:30:07 +0000 (13:30 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 29 Jun 2015 18:00:32 +0000 (11:00 -0700)
commita0198f14f7a4e29159ac959d56770380c447b2bc
tree9fd60c3c8d3b06ce5cc979180d20225e24e7ccf7
parentb75ef0a0af48766298ebcc946dd31fe0da5161e3
Fix resplit | batch

Summary: Resplit violated the contract of `apply()`; it returned `false` even though the input sequence was fully consumed.

Reviewed By: @philippv

Differential Revision: D2195889
folly/gen/String-inl.h
folly/gen/test/StringTest.cpp