summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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;