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 /tests/auto/cplusplus/cplusplus_global.h | |
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 'tests/auto/cplusplus/cplusplus_global.h')
-rw-r--r-- | tests/auto/cplusplus/cplusplus_global.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/cplusplus/cplusplus_global.h b/tests/auto/cplusplus/cplusplus_global.h index 5d911fe132..42a0bef1ad 100644 --- a/tests/auto/cplusplus/cplusplus_global.h +++ b/tests/auto/cplusplus/cplusplus_global.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CPLUSPLUS_GLOBAL_H -#define CPLUSPLUS_GLOBAL_H +#pragma once // // The following "non-latin1" code points are used in the tests: @@ -38,5 +37,3 @@ #define UC_U4E8C "\xe4\xba\x8c" #define UC_U10302 "\xf0\x90\x8c\x82" #define TEST_UNICODE_IDENTIFIER UC_U00FC UC_U4E8C UC_U10302 - -#endif // CPLUSPLUS_GLOBAL_H |