Skip to content

Commit 8946ff9

Browse files
committed
Review remarks
1 parent c1d997e commit 8946ff9

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/communication/datapoint.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include "datapoint.h"
22

3-
#include "datapoint.h"
4-
53
DataPoint::DataPoint() : DataPoint(QString(), Device::cFirstDeviceId)
64
{
75
}

src/communication/datapoint.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include "models/device.h"
55
#include <QDebug>
6-
#include <QObject>
76
#include <QString>
87

98
class DataPoint

src/communication/modbuspoll.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef COMMUNICATION_MANAGER_H
2-
#define COMMUNICATION_MANAGER_H
1+
#ifndef MODBUSPOLL_H
2+
#define MODBUSPOLL_H
33

44
#include "ProtocolAdapter/adapterclient.h"
55
#include "ProtocolAdapter/adapterprocess.h"
@@ -49,4 +49,4 @@ private slots:
4949
AdapterClient* _pAdapterClient;
5050
};
5151

52-
#endif // COMMUNICATION_MANAGER_H
52+
#endif // MODBUSPOLL_H

tests/datahandling/tst_expressionparser.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef TEST_EXPRESSIONPARSER_H
2+
#define TEST_EXPRESSIONPARSER_H
13

24
#include "communication/datapoint.h"
35

@@ -36,3 +38,5 @@ private slots:
3638

3739
private:
3840
};
41+
42+
#endif // TEST_EXPRESSIONPARSER_H

0 commit comments

Comments
 (0)