[general] moving ios and android project under ./platform folder

This commit is contained in:
Petr Pokorny
2020-12-20 12:38:56 +01:00
parent 8e759a51e4
commit 41f0be34e7
9877 changed files with 141 additions and 2889 deletions

16
test/util/pass.test.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include <mbgl/test/util.hpp>
#include <mbgl/util/pass_types.hpp>
TEST(Pass, NoCopy) {
static int copyCount = 0;
struct A {
A() = default;
A(A&&) = default;
A(const A&) { ++copyCount; }
static mbgl::Pass<A> create() { return A(); }
};
A a = A::create();
(void)a;
EXPECT_EQ(0, copyCount);
}