]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/standardbar.hpp
Use the "default" keyword.
[pulseview.git] / pv / views / trace / standardbar.hpp
index ce9bf91b4c7f6dc7fc79e5a9f40a084b6818752c..c00c218d82f3eb2a484cb029129c8da9bf6ff8c0 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
 #define PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
 
-#include <stdint.h>
+#include <cstdint>
 
 #include <QAction>
 #include <QToolBar>
@@ -51,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;