]> sigrok.org Git - pulseview.git/commitdiff
Don't use redundant void argument.
authorUwe Hermann <redacted>
Fri, 10 Mar 2017 20:17:22 +0000 (21:17 +0100)
committerUwe Hermann <redacted>
Sat, 11 Mar 2017 12:06:03 +0000 (13:06 +0100)
This patch was generated using clang-tidy:

  clang-tidy -checks="-*,modernize-redundant-void-arg" -fix

pv/view/view.cpp
pv/views/trace/standardbar.cpp

index f46045ad1af482d89d0da7f00d5b853f7ae34ea6..2bf3d20a4301413a8503aceb9b9d441698334474 100644 (file)
@@ -567,7 +567,7 @@ void View::enable_sticky_scrolling(bool state)
        sticky_scrolling_ = state;
 }
 
-void View::toggle_sticky_scrolling(void)
+void View::toggle_sticky_scrolling()
 {
        sticky_scrolling_ = !sticky_scrolling_;
 }
index 162a8c384e7ed392621071e341abdbe8438831b0..dc82ff1e1c065fdc918645cf31bffdcd98f1e1b4 100644 (file)
@@ -92,7 +92,7 @@ StandardBar::StandardBar(Session &session, QWidget *parent,
                add_toolbar_widgets();
 }
 
-Session &StandardBar::session(void) const
+Session &StandardBar::session() const
 {
        return session_;
 }