Commit 47fc6cdf authored by Tudor Bosman's avatar Tudor Bosman Committed by Jordan DeLong

one more

Test Plan: build

Reviewed By: tjackson@fb.com

FB internal diff: D630280
parent c7796707
...@@ -117,7 +117,7 @@ class FileWriter : public Operator<FileWriter> { ...@@ -117,7 +117,7 @@ class FileWriter : public Operator<FileWriter> {
} // namespace detail } // namespace detail
auto byLine(File file, char delim='\n') -> inline auto byLine(File file, char delim='\n') ->
decltype(fromFile(std::move(file)) | eachAs<StringPiece>() | resplit(delim)) { decltype(fromFile(std::move(file)) | eachAs<StringPiece>() | resplit(delim)) {
return fromFile(std::move(file)) | eachAs<StringPiece>() | resplit(delim); return fromFile(std::move(file)) | eachAs<StringPiece>() | resplit(delim);
} }
......
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