[core] use #pragma once instead of ifdef include guards
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef MBGL_ANDROID_JNI
|
||||
#define MBGL_ANDROID_JNI
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -26,5 +25,3 @@ extern void detach_jni_thread(JavaVM* vm, JNIEnv** env, bool detach);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef MBGL_ANDROID_NATIVE_MAP_VIEW
|
||||
#define MBGL_ANDROID_NATIVE_MAP_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/map/map.hpp>
|
||||
#include <mbgl/map/view.hpp>
|
||||
@@ -98,5 +97,3 @@ private:
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user