aboutsummaryrefslogtreecommitdiff
path: root/sources/android/ndk_helper/interpolator.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-03-23 13:29:04 -0700
committerElliott Hughes <enh@google.com>2020-03-23 13:29:04 -0700
commit715f20250aaf565de693c3a77f40e54031be11e5 (patch)
tree729e104ff6831343caf7e1afd8014232b35b8c26 /sources/android/ndk_helper/interpolator.h
parent5aec38c42f1e6da17437c72066e4a59beb5a265f (diff)
downloadndk-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/interpolator.h')
-rw-r--r--sources/android/ndk_helper/interpolator.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/android/ndk_helper/interpolator.h b/sources/android/ndk_helper/interpolator.h
index 1226e334b..61b8d8f0a 100644
--- a/sources/android/ndk_helper/interpolator.h
+++ b/sources/android/ndk_helper/interpolator.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef INTERPOLATOR_H_
-#define INTERPOLATOR_H_
+#pragma once
#include <jni.h>
#include <errno.h>
@@ -86,4 +85,3 @@ public:
};
} //namespace ndkHelper
-#endif /* INTERPOLATOR_H_ */