mirror of
https://github.com/libretro/glslang.git
synced 2024-12-04 14:16:23 +00:00
Specify explicit return type on lambda function
This commit is contained in:
parent
0dfbe3f90d
commit
bd9f8351f4
@ -2213,7 +2213,7 @@ void Builder::eliminateDeadDecorations() {
|
||||
}
|
||||
}
|
||||
decorations.erase(std::remove_if(decorations.begin(), decorations.end(),
|
||||
[&unreachable_definitions](std::unique_ptr<Instruction>& I) {
|
||||
[&unreachable_definitions](std::unique_ptr<Instruction>& I) -> bool {
|
||||
Instruction* inst = I.get();
|
||||
Id decoration_id = inst->getIdOperand(0);
|
||||
return unreachable_definitions.count(decoration_id) != 0;
|
||||
|
Loading…
Reference in New Issue
Block a user