FBString conservative additions
authorNicholas Ormrod <njormrod@fb.com>
Sat, 14 Jun 2014 01:09:44 +0000 (18:09 -0700)
committerAnton Likhtarov <alikhtarov@fb.com>
Thu, 26 Jun 2014 02:24:01 +0000 (19:24 -0700)
commit58d27d0059f83f3e608d30da331c4b938c005f2b
tree95f37ee09b23d9a19f6822f1144c5583caa41475
parent1a31dc647bd323bd04c75678726420a90b0de055
FBString conservative additions

Summary:
Now that fbstring is conservative by default (D1373308), we can remove
the mutability of the data members and the call to c_str() in operator[].

Test Plan: fbconfig -r folly && fbmake runtests

Reviewed By: lucian@fb.com

Subscribers: folly@lists, sdwilsh, njormrod

FB internal diff: D1382644
folly/FBString.h