Removing unneeded eachAs() operators
[folly.git] / folly / experimental / symbolizer / Symbolizer.cpp
index 714cac7604931b0c62cffba06c449266f9f5e44d..aa5280cda7cd28827461eef380bfed262f4e92a1 100644 (file)
@@ -77,7 +77,7 @@ bool Symbolizer::symbolize(uintptr_t address, StringPiece& symbolName,
   boost::cmatch match;
 
   MappedFile foundFile;
   boost::cmatch match;
 
   MappedFile foundFile;
-  bool error = gen::byLine("/proc/self/maps") | gen::eachAs<StringPiece>() |
+  bool error = gen::byLine("/proc/self/maps") |
     [&] (StringPiece line) -> bool {
       CHECK(boost::regex_match(line.begin(), line.end(), match, mapLineRegex));
       uint64_t begin = fromHex(sp(match[1]));
     [&] (StringPiece line) -> bool {
       CHECK(boost::regex_match(line.begin(), line.end(), match, mapLineRegex));
       uint64_t begin = fromHex(sp(match[1]));