summaryrefslogtreecommitdiff
path: root/doc/api/examples/exampleplugin/example_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/examples/exampleplugin/example_global.h')
-rw-r--r--doc/api/examples/exampleplugin/example_global.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/api/examples/exampleplugin/example_global.h b/doc/api/examples/exampleplugin/example_global.h
index 228343cdf0..00c77e6b16 100644
--- a/doc/api/examples/exampleplugin/example_global.h
+++ b/doc/api/examples/exampleplugin/example_global.h
@@ -1,5 +1,4 @@
-#ifndef EXAMPLE_GLOBAL_H
-#define EXAMPLE_GLOBAL_H
+#pragma once
#include <QtGlobal>
@@ -8,6 +7,3 @@
#else
# define EXAMPLESHARED_EXPORT Q_DECL_IMPORT
#endif
-
-#endif // EXAMPLE_GLOBAL_H
-