From d4fd57aae976f36a4f235e1e8358f6c5c1ad6d98 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 28 Aug 2014 12:23:44 -0700 Subject: [PATCH] Avoid zero size array warning --- include/mbgl/platform/event.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mbgl/platform/event.hpp b/include/mbgl/platform/event.hpp index 1676f40d2..1befd0af3 100644 --- a/include/mbgl/platform/event.hpp +++ b/include/mbgl/platform/event.hpp @@ -59,6 +59,7 @@ constexpr EventSeverity disabledEventSeverities[] = { #if !DEBUG EventSeverity::Debug, #endif + EventSeverity(-1) // Avoid zero size array };