Use StringPiece instead of String
authorVictor Loh <vloh@fb.com>
Wed, 16 Apr 2014 04:57:23 +0000 (21:57 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 18 Apr 2014 19:04:15 +0000 (12:04 -0700)
commit30a71566b2a38c80f979c41d2d5672f7d7a3d244
treeb7ef5a0c5ce2d59ce437293f51f966c760e989dd
parent32d518c3fdc015afedc579f195b05bc14d1d0dfd
Use StringPiece instead of String

Summary:
Using StringPiece makes it easier than std::string

Facebook: Motivation for this diff is found in D1253595

Test Plan:
Added new unittest

fbconfig folly/io/test && fbmake runtests_opt

Reviewed By: simpkins@fb.com

FB internal diff: D1276185
folly/io/IOBufQueue.h
folly/io/test/IOBufQueueTest.cpp