[core] use #pragma once instead of ifdef include guards
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef MBGL_MAP_SOURCE
|
||||
#define MBGL_MAP_SOURCE
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/tile/tile_id.hpp>
|
||||
#include <mbgl/tile/tile_data.hpp>
|
||||
@@ -108,5 +107,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace mbgl
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef MBGL_MAP_SOURCE_INFO
|
||||
#define MBGL_MAP_SOURCE_INFO
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/style/types.hpp>
|
||||
#include <mbgl/util/constants.hpp>
|
||||
@@ -26,5 +25,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace mbgl
|
||||
|
||||
#endif // MBGL_MAP_SOURCE_INFO
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef MBGL_MAP_SOURCE_OBSERVER
|
||||
#define MBGL_MAP_SOURCE_OBSERVER
|
||||
#pragma once
|
||||
|
||||
#include <exception>
|
||||
|
||||
@@ -20,5 +19,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace mbgl
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user