Add workaround for clang 3.3/3.4
As reported in #1349, clang before 3.5 can segfault on a function-local variable referenced inside a lambda. This moves the function-local static into a separate function that the lambda can invoke to avoid the issue. Fixes #1349
Showing
Please
register
or
sign in
to comment