Delete unused 'this' capture

Remove an unused 'this' entry from a lambda capture list.

This cleans up a unused-lambda-capture warning.
This commit is contained in:
mchock-nv 2017-09-11 15:20:52 -07:00 committed by GitHub
parent d004e5ca4c
commit 933c10cd4b

View File

@ -9118,7 +9118,7 @@ void HlslParseContext::addPatchConstantInvocation()
} }
}; };
const auto isOutputPatch = [this](TFunction& patchConstantFunction, int param) { const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
const TType& type = *patchConstantFunction[param].type; const TType& type = *patchConstantFunction[param].type;
const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn(); const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();