Fix xcode9.3 -Wunused-lambda-capture errors

Disable the warning on 3rdparty files
${glslang_dir}/hlsl/hlslParseHelper.cpp

Disable the warning on files where fixing it would cause a non-OSX compile error
os/os_specific.cpp
This commit is contained in:
Jake Turner
2018-04-29 06:33:27 +01:00
committed by baldurk
parent 7182e0af3a
commit cae6b44a97
8 changed files with 39 additions and 24 deletions
@@ -449,7 +449,7 @@ private:
return;
Renderer.ListFolder(
makePath(node), true, [this, node](const rdcstr &path, const rdcarray<PathEntry> &files) {
makePath(node), true, [node](const rdcstr &path, const rdcarray<PathEntry> &files) {
if(files.count() == 1 && (files[0].flags & PathProperty::ErrorAccessDenied))
{