Skip to content
Permalink
Browse files

fix warning.(refs #55)

  • Loading branch information...
haraki committed Jun 6, 2019
1 parent 9d1a92d commit 918e8992f26fb87b222e66989f132c1d7696d0c6
Showing with 80 additions and 79 deletions.
  1. +3 −3 include/QHexView.h
  2. +77 −76 src/QHexView.cpp
@@ -1,4 +1,4 @@
#ifndef Q_HEX_VIEWER_H_
#ifndef Q_HEX_VIEWER_H_
#define Q_HEX_VIEWER_H_

#include <QAbstractScrollArea>
@@ -12,7 +12,7 @@ class QHexView: public QAbstractScrollArea
class DataStorage
{
public:
virtual ~DataStorage() {}
virtual ~DataStorage() = default;
virtual QByteArray getData(std::size_t position, std::size_t length) = 0;
virtual std::size_t size() = 0;
};
@@ -40,7 +40,7 @@ class QHexView: public QAbstractScrollArea



QHexView(QWidget *parent = 0);
QHexView(QWidget *parent = Q_NULLPTR);
~QHexView();

void setFont(const QFont& font);

0 comments on commit 918e899

Please sign in to comment.
You can’t perform that action at this time.