summaryrefslogtreecommitdiff
path: root/platform/android/src/style/layers/unknown_layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/style/layers/unknown_layer.cpp')
-rw-r--r--platform/android/src/style/layers/unknown_layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/style/layers/unknown_layer.cpp b/platform/android/src/style/layers/unknown_layer.cpp
index 9ec963a41b..8ffda82bfc 100644
--- a/platform/android/src/style/layers/unknown_layer.cpp
+++ b/platform/android/src/style/layers/unknown_layer.cpp
@@ -6,7 +6,7 @@ namespace {
// Dummy initializer (We don't support initializing this from the JVM)
std::unique_ptr<mbgl::android::UnknownLayer> init(jni::JNIEnv&) {
- throw new std::runtime_error("UnknownLayer should not be initialized from the JVM");
+ throw std::runtime_error("UnknownLayer should not be initialized from the JVM");
}
} // namespace