]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/standardbar.hpp
Don't use redundant void argument.
[pulseview.git] / pv / views / trace / standardbar.hpp
index 0c9cad8094c150206c3e1bde9abb61ab2a16f52a..c00c218d82f3eb2a484cb029129c8da9bf6ff8c0 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
 #define PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
 
-#include <stdint.h>
+#include <cstdint>
 
 #include <QAction>
 #include <QToolBar>
@@ -50,7 +50,7 @@ public:
        StandardBar(Session &session, QWidget *parent,
                TraceView::View *view, bool add_default_widgets=true);
 
-       Session &session(void) const;
+       Session &session() const;
 
        QAction* action_view_zoom_in() const;
        QAction* action_view_zoom_out() const;