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/registryaccess | |
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/registryaccess')
-rw-r--r-- | src/shared/registryaccess/registryaccess.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/registryaccess/registryaccess.h b/src/shared/registryaccess/registryaccess.h index 7b65160d60..f8620614c7 100644 --- a/src/shared/registryaccess/registryaccess.h +++ b/src/shared/registryaccess/registryaccess.h @@ -27,8 +27,7 @@ // qtcdebugger is currently registered for post-mortem debugging. // This is only needed on Windows. -#ifndef REGISTRYACCESS_H -#define REGISTRYACCESS_H +#pragma once #include <QString> #include <QLatin1String> @@ -75,5 +74,3 @@ QString debuggerCall(const QString &additionalOption = QString()); bool isRegistered(HKEY handle, const QString &call, QString *errorMessage, QString *oldDebugger = 0); } // namespace RegistryAccess - -#endif // REGISTRYACCESS_H |