Replaced #ifndef with #pragma once
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user