[core] use #pragma once instead of ifdef include guards

This commit is contained in:
Konstantin Käfer
2016-05-25 21:14:18 +02:00
parent 6368403f43
commit e2bcea90fc
206 changed files with 211 additions and 829 deletions

View File

@@ -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

View File

@@ -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