[llvm] r301152 - [Orc] Fix a warning by removing an unused lambda capture.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 23 18:21:24 PDT 2017
Author: lhames
Date: Sun Apr 23 20:21:23 2017
New Revision: 301152
URL: http://llvm.org/viewvc/llvm-project?rev=301152&view=rev
Log:
[Orc] Fix a warning by removing an unused lambda capture.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h?rev=301152&r1=301151&r2=301152&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h Sun Apr 23 20:21:23 2017
@@ -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);
More information about the llvm-commits
mailing list