Commit 2eace065 authored by Jan Möbius's avatar Jan Möbius

More cppcheck warnings

parent e06fb95d
...@@ -57,7 +57,7 @@ namespace { ...@@ -57,7 +57,7 @@ namespace {
class ValenceHistogram : public ACG::Histogram { class ValenceHistogram : public ACG::Histogram {
public: public:
ValenceHistogram(const std::vector<size_t> &bins) explicit ValenceHistogram(const std::vector<size_t> &bins)
{ {
std::vector<size_t>::const_iterator nonzero_begin = bins.begin(); std::vector<size_t>::const_iterator nonzero_begin = bins.begin();
for (; nonzero_begin != bins.end() && *nonzero_begin == 0; for (; nonzero_begin != bins.end() && *nonzero_begin == 0;
......
...@@ -61,7 +61,7 @@ class InfoBar : public QWidget, public Ui::InfoBar ...@@ -61,7 +61,7 @@ class InfoBar : public QWidget, public Ui::InfoBar
Q_OBJECT Q_OBJECT
public: public:
InfoBar(QWidget *parent = 0); explicit InfoBar(QWidget *parent = 0);
void showCounts(); void showCounts();
void hideCounts(); void hideCounts();
......
...@@ -61,6 +61,6 @@ class InfoDialog : public QDialog, public Ui::InfoWidget ...@@ -61,6 +61,6 @@ class InfoDialog : public QDialog, public Ui::InfoWidget
Q_OBJECT Q_OBJECT
public: public:
InfoDialog(QWidget *parent = 0); explicit InfoDialog(QWidget *parent = 0);
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment