projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7ab1f
)
Tiny whitespace fix
author
Soeren Apel
<soeren@apelpie.net>
Wed, 21 Feb 2018 17:46:29 +0000
(18:46 +0100)
committer
Soeren Apel
<soeren@apelpie.net>
Wed, 21 Feb 2018 17:46:29 +0000
(18:46 +0100)
pv/session.cpp
patch
|
blob
|
history
diff --git
a/pv/session.cpp
b/pv/session.cpp
index ca72e9b0d670fed6a14da47d4c7c2ce79946c078..4d72af3347472d530533ccf08ec78ed576713d94 100644
(file)
--- a/
pv/session.cpp
+++ b/
pv/session.cpp
@@
-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);
}