Tiny whitespace fix

This commit is contained in:
Soeren Apel 2018-02-21 18:46:29 +01:00
parent 7b7ab1f5cb
commit 0fb98cf80d
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ void Session::set_default_device()
// Try and find the demo device and select that by default
const auto iter = find_if(devices.begin(), devices.end(),
[] (const shared_ptr<devices::HardwareDevice> &d) {
return d->hardware_device()->driver()->name() == "demo"; });
return d->hardware_device()->driver()->name() == "demo"; });
set_device((iter == devices.end()) ? devices.front() : *iter);
}