[Orc] Fix a warning by removing an unused lambda capture.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2017-04-24 01:21:23 +00:00
parent 0e8cd85fc0
commit dd358f5cfd

View File

@ -378,7 +378,7 @@ public:
return serializeSeq(C, std::string());
return handleErrors(std::move(Err),
[&C, &Lock](const ErrorInfoBase &EIB) {
[&C](const ErrorInfoBase &EIB) {
auto SI = Serializers.find(EIB.dynamicClassID());
if (SI == Serializers.end())
return serializeAsStringError(C, EIB);