diff options
author | Elliott Hughes <enh@google.com> | 2020-03-23 13:29:04 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-03-23 13:29:04 -0700 |
commit | 715f20250aaf565de693c3a77f40e54031be11e5 (patch) | |
tree | 729e104ff6831343caf7e1afd8014232b35b8c26 /sources/android/ndk_helper/perfMonitor.h | |
parent | 5aec38c42f1e6da17437c72066e4a59beb5a265f (diff) | |
download | ndk-715f20250aaf565de693c3a77f40e54031be11e5.tar.gz |
Switch the NDK source/ headers to #pragma once.
Because we look silly when our demo of IntelliSense in Visual Studio is
only offering completions that are header file include guard spam.
Bug: https://youtu.be/JXQBdMNDL7k?t=215
Test: treehugger
Change-Id: I608e1e000dec3f4b4919263dfb5688f42c02b1b1
Diffstat (limited to 'sources/android/ndk_helper/perfMonitor.h')
-rw-r--r-- | sources/android/ndk_helper/perfMonitor.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/android/ndk_helper/perfMonitor.h b/sources/android/ndk_helper/perfMonitor.h index f418c436b..b886d6df6 100644 --- a/sources/android/ndk_helper/perfMonitor.h +++ b/sources/android/ndk_helper/perfMonitor.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef PERFMONITOR_H_ -#define PERFMONITOR_H_ +#pragma once #include <jni.h> #include <errno.h> @@ -58,4 +57,3 @@ public: }; } //namespace ndkHelper -#endif /* PERFMONITOR_H_ */ |