Modernise header guards

This commit is contained in:
elecpower
2021-02-01 06:39:51 +11:00
parent 9a7c7cd303
commit c35301ec05
14 changed files with 14 additions and 57 deletions
+1 -4
View File
@@ -18,8 +18,7 @@
* GNU General Public License for more details.
*/
#ifndef _HELPERS_DATA_H_
#define _HELPERS_DATA_H_
#pragma once
#include <QtCore>
@@ -49,5 +48,3 @@ class FieldRange
QString prefix;
QString unit;
};
#endif // _HELPERS_DATA_H_
+1 -4
View File
@@ -18,8 +18,7 @@
* GNU General Public License for more details.
*/
#ifndef SENSORDATA_H
#define SENSORDATA_H
#pragma once
#include "helpersdata.h"
@@ -214,5 +213,3 @@ class SensorData {
static AbstractStaticItemModel * unitItemModel();
static PrecisionItemModel * precisionItemModel();
};
#endif // SENSORDATA_H