summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-08-28 13:40:17 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-08-28 13:40:17 -0700
commitfd40bde61207c47710dba2d1587d90e505ed6837 (patch)
tree0787aabc41649d6145e2a64a2a544bfc940b5c27 /include
parent20762ee9f40edfebe2f8e9abd7552ca613d41ff5 (diff)
downloadqtlocation-mapboxgl-fd40bde61207c47710dba2d1587d90e505ed6837.tar.gz
Make Glyph and Sprite Atlases noncopyable
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/geometry/glyph_atlas.hpp3
-rw-r--r--include/mbgl/geometry/sprite_atlas.hpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/mbgl/geometry/glyph_atlas.hpp b/include/mbgl/geometry/glyph_atlas.hpp
index 07011d324e..8df9fd0f73 100644
--- a/include/mbgl/geometry/glyph_atlas.hpp
+++ b/include/mbgl/geometry/glyph_atlas.hpp
@@ -3,6 +3,7 @@
#include <mbgl/geometry/binpack.hpp>
#include <mbgl/text/glyph_store.hpp>
+#include <mbgl/util/noncopyable.hpp>
#include <string>
#include <set>
@@ -12,7 +13,7 @@
namespace mbgl {
-class GlyphAtlas {
+class GlyphAtlas : public util::noncopyable {
public:
private:
diff --git a/include/mbgl/geometry/sprite_atlas.hpp b/include/mbgl/geometry/sprite_atlas.hpp
index c30499a53d..36f0f338ea 100644
--- a/include/mbgl/geometry/sprite_atlas.hpp
+++ b/include/mbgl/geometry/sprite_atlas.hpp
@@ -2,6 +2,7 @@
#define MBGL_GEOMETRY_SPRITE_ATLAS
#include <mbgl/geometry/binpack.hpp>
+#include <mbgl/util/noncopyable.hpp>
#include <string>
#include <map>
@@ -14,7 +15,7 @@ namespace mbgl {
class Sprite;
class SpritePosition;
-class SpriteAtlas {
+class SpriteAtlas : public util::noncopyable {
public:
typedef uint16_t dimension;