diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-04 11:33:22 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-13 10:33:18 -0700 |
commit | 7b041b123cb067d247a727bb3a4563bb2fc575eb (patch) | |
tree | cdf9ce1583ef6cc3a16970a7ad9a1527521ecf41 /include/mbgl/util | |
parent | de6c9b35f35f6ec0950529261b207d716c046beb (diff) | |
download | qtlocation-mapboxgl-7b041b123cb067d247a727bb3a4563bb2fc575eb.tar.gz |
[core, darwin] Object identity for MGLSource*, MGLStyleLayer*
All `MGLSource` pointers referencing the same logical source will now be object identical; similarly for `MGLStyleLayer`.
Diffstat (limited to 'include/mbgl/util')
-rw-r--r-- | include/mbgl/util/any.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mbgl/util/any.hpp b/include/mbgl/util/any.hpp new file mode 100644 index 0000000000..eea64b188a --- /dev/null +++ b/include/mbgl/util/any.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include <linb/any.hpp> + +namespace mbgl { + +using linb::any; +using linb::any_cast; + +} // namespace mbgl |