info-tool: eliminate temporaries
This commit is contained in:
parent
ba3a49eccf
commit
4848692016
@ -28,9 +28,6 @@ main (int, char**)
|
||||
cruft::vk::instance instance (cruft::vk::instance::create_info {});
|
||||
std::cout << "instance: " << instance << '\n';
|
||||
|
||||
auto devices = cruft::vk::physical_device::find (instance);
|
||||
|
||||
for (const auto &d: devices) {
|
||||
for (const auto &d: cruft::vk::physical_device::find (instance))
|
||||
std::cout << d << '\n';
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user