Replace include guards with #pragma once

Change-Id: Ic36cf0e9cac61d4d9a7e4434192944f5301b8aaa
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Orgad Shaneh
2017-06-28 10:07:01 +03:00
committed by Orgad Shaneh
parent ece8b17ab2
commit b57372f2b5
9 changed files with 9 additions and 36 deletions

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef OUTPUT_COLLECTOR_H
#define OUTPUT_COLLECTOR_H
#pragma once
#include <QObject>
@@ -74,5 +73,3 @@ private:
} // namespace Internal
} // namespace Debugger
#endif // OUTPUT_COLLECTOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef AUTHENTICATIONDIALOG_H
#define AUTHENTICATIONDIALOG_H
#pragma once
#include <QCoreApplication>
#include <QDialog>
@@ -63,5 +62,3 @@ private:
} // Internal
} // Gerrit
#endif // AUTHENTICATIONDIALOG_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef EXPORTDIALOG_H
#define EXPORTDIALOG_H
#pragma once
#include <QDialog>
@@ -66,5 +65,3 @@ private:
} // namespace Internal
} // namespace ImageViewer
#endif // EXPORTDIALOG_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QBSBUILDINFO_H
#define QBSBUILDINFO_H
#pragma once
#include <projectexplorer/buildinfo.h>
@@ -47,5 +46,3 @@ private:
} // namespace Internal
} // namespace QbsProjectManager
#endif // QBSBUILDINFO_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef QBSPMLOGGING_P_H
#define QBSPMLOGGING_P_H
#pragma once
#include <QLoggingCategory>
@@ -33,5 +32,3 @@ namespace Internal {
Q_DECLARE_LOGGING_CATEGORY(qbsPmLog)
}
}
#endif // Include guard

View File

@@ -37,8 +37,7 @@
**
****************************************************************************/
#ifndef JSONVALUE_H
#define JSONVALUE_H
#pragma once
#include <cstdint>
#include <initializer_list>
@@ -585,5 +584,3 @@ private:
};
} // namespace Json
#endif // JSONVALUE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef TESTCORE_H
#define TESTCORE_H
#pragma once
#include <QObject>
@@ -231,5 +230,3 @@ private slots:
void loadGradient();
void changeGradientId();
};
#endif // TESTCORE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef SIMPLE_DEBUGGER_TEST_H
#define SIMPLE_DEBUGGER_TEST_H
#pragma once
namespace breakpoints {
@@ -149,5 +148,3 @@ namespace breakpoints {
}
} // namespace breakpoints
#endif // SIMPLE_DEBUGGER_TEST_H

View File

@@ -24,8 +24,7 @@
**
****************************************************************************/
#ifndef MYBACKENDOBJECT_H
#define MYBACKENDOBJECT_H
#pragma once
#include <QObject>
@@ -43,5 +42,3 @@ public:
public slots:
};
#endif // MYBACKENDOBJECT_H