summaryrefslogtreecommitdiff
path: root/include/mbgl/util/event.hpp
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-03-04 11:01:37 -0800
committerMinh Nguyễn <mxn@1ec5.org>2017-03-04 12:48:33 -0800
commitac4e13416a36905b35401fc1a982c680ca37a3d0 (patch)
treee2db7f8702c7a23fa9a6280997ba07a670c96a52 /include/mbgl/util/event.hpp
parent328d4f667271d36e74456d8ed731e8fe506d6cb0 (diff)
downloadqtlocation-mapboxgl-ac4e13416a36905b35401fc1a982c680ca37a3d0.tar.gz
[core] Enable debug events in Debug configuration
Diffstat (limited to 'include/mbgl/util/event.hpp')
-rw-r--r--include/mbgl/util/event.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/util/event.hpp b/include/mbgl/util/event.hpp
index 7ad3d914e8..5fe0baae3c 100644
--- a/include/mbgl/util/event.hpp
+++ b/include/mbgl/util/event.hpp
@@ -40,7 +40,7 @@ struct EventPermutation {
};
constexpr EventSeverity disabledEventSeverities[] = {
-#ifdef NDEBUG
+#ifndef NDEBUG
EventSeverity(-1) // Avoid zero size array
#else
EventSeverity::Debug