Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
small cleaning indicated by clang
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinaud committed Jul 23, 2018
1 parent 0781af5 commit ef7a4ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion library/tulip-gui/include/tulip/TulipFontIconEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TLP_QT_SCOPE TulipFontIconEngine : public QIconEngine {
TulipFontIconEngine(const TulipFontIconEngine &engine)
: QIconEngine(), codePoint(engine.codePoint), fontName(engine.fontName) {}

TulipFontIconEngine *clone() const {
TulipFontIconEngine *clone() const override {
return new TulipFontIconEngine(*this);
}

Expand Down
1 change: 0 additions & 1 deletion plugins/layout/SquarifiedTreeMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ double SquarifiedTreeMap::evaluateRow(const std::vector<tlp::node> &row, tlp::no
double length, double surface) {

double sumOfNodesSurface = nodesSize.get(n.id);
vector<node>::const_iterator it;

for (auto nr : row) {
sumOfNodesSurface += nodesSize.get(nr.id);
Expand Down

0 comments on commit ef7a4ec

Please sign in to comment.