diff options
author | hjk <hjk@theqtcompany.com> | 2016-03-18 07:55:01 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-03-30 15:20:19 +0000 |
commit | 39a38d5679084b515276285c044d8a27e671adb1 (patch) | |
tree | 8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /src/shared/cpaster | |
parent | 6b805c217273b9d169aa7e8a78949e17179016bf (diff) |
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce
Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/shared/cpaster')
-rw-r--r-- | src/shared/cpaster/cgi.h | 5 | ||||
-rw-r--r-- | src/shared/cpaster/splitter.h | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/shared/cpaster/cgi.h b/src/shared/cpaster/cgi.h index 0422468e6c..688ec50288 100644 --- a/src/shared/cpaster/cgi.h +++ b/src/shared/cpaster/cgi.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CGI_H -#define CGI_H +#pragma once #include <QString> @@ -47,5 +46,3 @@ private: inline short charToHex(const QChar &ch); inline QChar hexToChar(const QString &hx); }; - -#endif // CGI_H diff --git a/src/shared/cpaster/splitter.h b/src/shared/cpaster/splitter.h index a4d14bbbc9..ae03a19514 100644 --- a/src/shared/cpaster/splitter.h +++ b/src/shared/cpaster/splitter.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef SPLITTER_H -#define SPLITTER_H +#pragma once #include <QByteArray> #include <QList> @@ -42,5 +41,3 @@ struct FileData typedef QList<FileData> FileDataList; FileDataList splitDiffToFiles(const QString &data); - -#endif // SPLITTER_H |