From 39a38d5679084b515276285c044d8a27e671adb1 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 18 Mar 2016 07:55:01 +0100 Subject: Wholesale conversion to #pragma once Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger --- src/shared/registryaccess/registryaccess.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/shared/registryaccess') 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 #include @@ -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 -- cgit v1.2.3