Replaced #ifndef with #pragma once

This commit is contained in:
0xFEEDC0DE64
2018-09-16 06:20:12 +02:00
parent 9c47a6818f
commit 40c7226c14
2 changed files with 2 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
#ifndef MAINWINDOW_H #pragma once
#define MAINWINDOW_H
#include <QMainWindow> #include <QMainWindow>
@@ -31,5 +30,3 @@ private:
Ui::MainWindow *ui; Ui::MainWindow *ui;
QTimer *m_timer; QTimer *m_timer;
}; };
#endif // MAINWINDOW_H

View File

@@ -1,5 +1,4 @@
#ifndef MYWIDGET_H #pragma once
#define MYWIDGET_H
#include <QWidget> #include <QWidget>
#include <QVector> #include <QVector>
@@ -47,5 +46,3 @@ private:
const Node *m_end; const Node *m_end;
QVector<const Node *> m_result; QVector<const Node *> m_result;
}; };
#endif // MYWIDGET_H