unbreak build
authorTudor Bosman <tudorb@fb.com>
Wed, 14 Nov 2012 01:43:31 +0000 (17:43 -0800)
committerJordan DeLong <jdelong@fb.com>
Sun, 16 Dec 2012 22:45:06 +0000 (14:45 -0800)
Test Plan: build

Reviewed By: tjackson@fb.com

FB internal diff: D630266

folly/experimental/StringGen-inl.h

index 10ae814a3d29fd443442e1d958ecbc22b9f007a4..84c42492000655ddeeffef50b78f8cb82de2f1af 100644 (file)
@@ -24,7 +24,7 @@ namespace folly {
 namespace gen {
 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()));
   if (p) {
     prefix.assign(in.data(), p);