Replaced #ifndef with #pragma once

This commit is contained in:
0xFEEDC0DE64
2018-09-16 06:21:26 +02:00
parent 5b2c26eee2
commit fe4c3c52fb
2 changed files with 2 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
#ifndef MASTER_H
#define MASTER_H
#pragma once
#include <QObject>
#include <QSerialPort>
@@ -42,5 +41,3 @@ private:
QSerialPort *m_serialPort;
QTcpServer *m_server;
};
#endif // MASTER_H

View File

@@ -1,5 +1,4 @@
#ifndef SLAVE_H
#define SLAVE_H
#pragma once
#include <QObject>
@@ -24,5 +23,3 @@ private Q_SLOTS:
private:
QTcpSocket *m_socket;
};
#endif // SLAVE_H