explicit return type on lambda expression
hobu opened this issue · comments
Howard Butler commented
PDAL/PDAL#1300 is compiling with an older clang AppleClang 6.0.0.6000057
and getting an error with one of the expressions:
vendor/arbiter/arbiter.cpp:1361:25: error: return type 'basic_string<[3 * ...]>'
must match previous return type 'const basic_string<[3 * ...]>' when
lambda expression has unspecified explicit return type
return out + c;
^