projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69282fa
)
Simplify signal clearing in Session::start_capture
author
Soeren Apel
<soeren@apelpie.net>
Wed, 29 Jul 2015 10:04:29 +0000
(12:04 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Wed, 29 Jul 2015 10:04:29 +0000
(12:04 +0200)
pv/session.cpp
patch
|
blob
|
history
diff --git
a/pv/session.cpp
b/pv/session.cpp
index bbfb7d2437b1c3380d955e8ef3ce3301797a2882..2bd3a054038f846d2263a26caf3ee124422f9293 100644
(file)
--- a/
pv/session.cpp
+++ b/
pv/session.cpp
@@
-180,8
+180,7
@@
void Session::start_capture(function<void (const QString)> error_handler)
}
// Clear signal data
- const set< shared_ptr<data::SignalData> > signal_data = get_data();
- for (const shared_ptr<data::SignalData> d : signal_data)
+ for (const shared_ptr<data::SignalData> d : get_data())
d->clear();
// Begin the session