Commit e4d6eb2a authored by Tudor Bosman's avatar Tudor Bosman Committed by Jordan DeLong

unbreak build

Test Plan: build

Reviewed By: tjackson@fb.com

FB internal diff: D630266
parent d8c1a8c0
...@@ -24,7 +24,7 @@ namespace folly { ...@@ -24,7 +24,7 @@ namespace folly {
namespace gen { namespace gen {
namespace detail { namespace detail {
bool splitPrefix(StringPiece& in, StringPiece& prefix, char delimiter) { inline bool splitPrefix(StringPiece& in, StringPiece& prefix, char delimiter) {
auto p = static_cast<const char*>(memchr(in.data(), delimiter, in.size())); auto p = static_cast<const char*>(memchr(in.data(), delimiter, in.size()));
if (p) { if (p) {
prefix.assign(in.data(), p); prefix.assign(in.data(), p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment