Merge pull request #1053 from mchock-nv/mchock-nv-fix-lambda

Delete unused 'this' capture
This commit is contained in:
John Kessenich 2017-09-11 19:33:11 -06:00 committed by GitHub
commit e22c11fd0a

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 TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();