summaryrefslogtreecommitdiff
path: root/doc/api/examples/exampleplugin/exampleconstants.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-03-18 07:55:01 +0100
committerhjk <hjk@theqtcompany.com>2016-03-30 15:20:19 +0000
commit39a38d5679084b515276285c044d8a27e671adb1 (patch)
tree8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /doc/api/examples/exampleplugin/exampleconstants.h
parent6b805c217273b9d169aa7e8a78949e17179016bf (diff)
downloadqt-creator-39a38d5679084b515276285c044d8a27e671adb1.tar.gz
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 'doc/api/examples/exampleplugin/exampleconstants.h')
-rw-r--r--doc/api/examples/exampleplugin/exampleconstants.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/api/examples/exampleplugin/exampleconstants.h b/doc/api/examples/exampleplugin/exampleconstants.h
index 1fe6b83bc1..fced2e0429 100644
--- a/doc/api/examples/exampleplugin/exampleconstants.h
+++ b/doc/api/examples/exampleplugin/exampleconstants.h
@@ -1,5 +1,4 @@
-#ifndef EXAMPLECONSTANTS_H
-#define EXAMPLECONSTANTS_H
+#pragma once
namespace Example {
namespace Constants {
@@ -9,6 +8,3 @@ const char MENU_ID[] = "Example.Menu";
} // namespace Example
} // namespace Constants
-
-#endif // EXAMPLECONSTANTS_H
-