Replaces header guards with pragma once

This commit is contained in:
2026-02-14 14:32:10 +01:00
parent ee185b68e6
commit 8668f72e6d
29 changed files with 23 additions and 117 deletions
+1 -6
View File
@@ -1,7 +1,4 @@
#ifndef VISA_HPP
#define VISA_HPP
#include "tcp_client.hpp"
#pragma once
#include <QObject>
class Visa : public QObject
@@ -32,5 +29,3 @@ class Visa : public QObject
bool m_data_ready;
QString m_data;
};
#endif // VISA_HPP
+1 -5
View File
@@ -1,6 +1,4 @@
#ifndef GPIO_HPP
#define GPIO_HPP
#pragma once
#include <QObject>
#if defined(__linux__) && (defined(__aarch64__) || defined(__x86_64__))
#include <gpiod.hpp>
@@ -29,5 +27,3 @@ class GPIO : public QObject
#endif
unsigned int m_offset;
};
#endif // GPIO_HPP
-1
View File
@@ -1,5 +1,4 @@
#pragma once
#include "spdlog/spdlog.h"
#include <QSerialPort>
#include <QThread>
-1
View File
@@ -1,5 +1,4 @@
#pragma once
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QObject>