connormanning / arbiter

Uniform access to the filesystem, HTTP, S3, GCS, Dropbox, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

explicit return type on lambda expression

hobu opened this issue · comments

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;
                        ^