Cast lambda to function pointer for boost::split().
Summary: - For some reason, Boost's internals aren't considering this lambda a type that's castable. Cast it to a function pointer before using it. Test Plan: - fbconfig -r folly && fbmake runtests - ./configure && make check on Ubuntu/FC/Mac - _bin/folly/test/string_test --benchmark Reviewed By: alandau@fb.com FB internal diff: D998594
Showing
Please register or sign in to comment