[dxvk] Remove needless lambda capture of 'this'.

This commit is contained in:
Chip Davis 2019-03-25 16:12:59 -05:00 committed by Philip Rebohle
parent 7a37d88067
commit 13a6ecadcd
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ namespace dxvk {
}
std::sort(result.begin(), result.end(),
[this] (const Rc<DxvkAdapter>& a, const Rc<DxvkAdapter>& b) -> bool {
[] (const Rc<DxvkAdapter>& a, const Rc<DxvkAdapter>& b) -> bool {
return a->deviceProperties().deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
&& b->deviceProperties().deviceType != VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU;
});