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
#define MAINWINDOW_H
#pragma once
#include <QMainWindow>
@ -31,5 +30,3 @@ private:
Ui::MainWindow *ui;
QTimer *m_timer;
};
#endif // MAINWINDOW_H

View File

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