Skip to content

Commit

Permalink
👕 Fix cpplint failure, causing travis CI to be red (#291)
Browse files Browse the repository at this point in the history
E.g. https://travis-ci.org/marvinroger/homie-esp8266/jobs/199213998

Ran the following command successfully:
  cpplint --repository=. --recursive \
  --filter=-whitespace/line_length,-legal/copyright,-runtime/printf,-build/include,-build/namespace,-runtime/int \
  ./src
  • Loading branch information
maruel authored and marvinroger committed Feb 7, 2017
1 parent 0c0108f commit 0274666
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/HomieNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ HomieNode::HomieNode(const char* id, const char* type, NodeInputHandler inputHan
HomieNode::nodes.push_back(this);
}

HomieNode::~HomieNode()
{
HomieNode::~HomieNode() {
Interface::get().getLogger() << F("✖ ~HomieNode(): Destruction of HomieNode object not possible") << endl;
Interface::get().getLogger() << F(" Hint: Don't create HomieNode objects as a local variable (e.g. in setup())") << endl;
Serial.flush();
Expand Down

0 comments on commit 0274666

Please sign in to comment.