projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8c1a8c
)
unbreak build
author
Tudor Bosman
<tudorb@fb.com>
Wed, 14 Nov 2012 01:43:31 +0000
(17:43 -0800)
committer
Jordan 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
patch
|
blob
|
history
diff --git
a/folly/experimental/StringGen-inl.h
b/folly/experimental/StringGen-inl.h
index 10ae814a3d29fd443442e1d958ecbc22b9f007a4..84c42492000655ddeeffef50b78f8cb82de2f1af 100644
(file)
--- a/
folly/experimental/StringGen-inl.h
+++ b/
folly/experimental/StringGen-inl.h
@@
-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);