core: rename mbgl namespace to mln (#4487)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
#include <mbgl/map/mode.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
|
||||
bool operator==(const SegmentBase& lhs, const SegmentBase& rhs) {
|
||||
return std::tie(lhs.vertexOffset, lhs.indexOffset, lhs.vertexLength, lhs.indexLength) ==
|
||||
@@ -33,9 +33,9 @@ bool operator==(const VertexType<A1, A2>& lhs, const VertexType<A1, A2>& rhs) {
|
||||
|
||||
} // namespace detail
|
||||
} // namespace gfx
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
using namespace mbgl;
|
||||
using namespace mln;
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
#include <mbgl/util/mat4.hpp>
|
||||
#include <mbgl/util/run_loop.hpp>
|
||||
|
||||
using namespace mbgl;
|
||||
using namespace mbgl::style;
|
||||
using namespace mbgl::platform;
|
||||
using namespace mln;
|
||||
using namespace mln::style;
|
||||
using namespace mln::platform;
|
||||
|
||||
static const GLchar* vertexShaderSource = R"MBGL_SHADER(
|
||||
#ifdef GL_ES
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
#include <mbgl/gl/enum.hpp>
|
||||
#include <mbgl/test/util.hpp>
|
||||
|
||||
using namespace mbgl;
|
||||
using namespace mbgl::gfx;
|
||||
using namespace mbgl::gl;
|
||||
using namespace mln;
|
||||
using namespace mln::gfx;
|
||||
using namespace mln::gl;
|
||||
|
||||
TEST(GL, DrawModeType) {
|
||||
ASSERT_EQ(GL_POINTS, Enum<DrawModeType>::to(DrawModeType::Points));
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <mbgl/platform/gl_functions.hpp>
|
||||
|
||||
using namespace mbgl::platform;
|
||||
using namespace mln::platform;
|
||||
|
||||
TEST(GLFunctions, OpenGLES) {
|
||||
/* OpenGL ES 2.0 */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
using namespace mbgl;
|
||||
using namespace mln;
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <mbgl/gl/headless_backend.hpp>
|
||||
#include <mbgl/gl/context.hpp>
|
||||
|
||||
using namespace mbgl;
|
||||
using namespace mln;
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user