summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map_observer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/map/map_observer.hpp b/include/mbgl/map/map_observer.hpp
index 4fefb79121..f63e5f2af3 100644
--- a/include/mbgl/map/map_observer.hpp
+++ b/include/mbgl/map/map_observer.hpp
@@ -10,6 +10,8 @@ namespace mbgl {
class MapObserver {
public:
+ virtual ~MapObserver() = default;
+
static MapObserver& nullObserver() {
static MapObserver mapObserver;
return mapObserver;