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

llvm-svn: 301152
This commit is contained in:
Lang Hames 2017-04-24 01:21:23 +00:00
parent 25972aa82e
commit fe3c21c879
1 changed files with 1 additions and 1 deletions

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);