forked from OSchip/llvm-project
Fix -Werror build.
/code/llvm-project/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp:260:38: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture] [this](decltype(ObjLayer)::ObjHandleT, llvm-svn: 314454
This commit is contained in:
parent
052ec5f92a
commit
fa769be5e7
|
@ -256,11 +256,11 @@ TEST_F(RTDyldObjectLinkingLayerExecutionTest, NoPrematureAllocation) {
|
|||
}
|
||||
|
||||
TEST_F(RTDyldObjectLinkingLayerExecutionTest, TestNotifyLoadedSignature) {
|
||||
RTDyldObjectLinkingLayer ObjLayer([]() { return nullptr; },
|
||||
[this](decltype(ObjLayer)::ObjHandleT,
|
||||
const decltype(ObjLayer)::ObjectPtr &obj,
|
||||
const RuntimeDyld::LoadedObjectInfo &info) {
|
||||
});
|
||||
RTDyldObjectLinkingLayer ObjLayer(
|
||||
[]() { return nullptr; },
|
||||
[](decltype(ObjLayer)::ObjHandleT,
|
||||
const decltype(ObjLayer)::ObjectPtr &obj,
|
||||
const RuntimeDyld::LoadedObjectInfo &info) {});
|
||||
}
|
||||
|
||||
} // end anonymous namespace
|
||||
|
|
Loading…
Reference in New Issue