mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
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, git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c2fc10a75
commit
9bdd09f11f
@ -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
Block a user