Skip to content

Commit 56de5ac

Browse files
committed
remove unnecessary changes
1 parent 9efeb41 commit 56de5ac

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

examples/calculator/MathOperationDataModel.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ NodeDataType MathOperationDataModel::dataType(PortType, PortIndex) const
2020

2121
std::shared_ptr<NodeData> MathOperationDataModel::outData(PortIndex)
2222
{
23-
auto output = std::static_pointer_cast<NodeData>(_result);
24-
25-
return output;
23+
return std::static_pointer_cast<NodeData>(_result);
2624
}
2725

2826
void MathOperationDataModel::setInData(std::shared_ptr<NodeData> data, PortIndex portIndex)

examples/calculator/MathOperationDataModel.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include <QtNodes/NodeDelegateModel>
4+
45
#include <QtCore/QJsonObject>
56
#include <QtCore/QObject>
67
#include <QtWidgets/QLabel>

0 commit comments

Comments
 (0)