summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-11-23 13:37:00 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-11-23 17:28:44 -0800
commit36081f6486201d9bd316f3a8ceb5a38ad2e97310 (patch)
tree58797124ca97462a455c42314d0235ff6df33d11 /include/mbgl/map
parenta620912176c066181c0cc81e41c9205cc2a0d9c0 (diff)
downloadqtlocation-mapboxgl-36081f6486201d9bd316f3a8ceb5a38ad2e97310.tar.gz
[core] For binary image data use uint8_t, not char
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/still_image.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/mbgl/map/still_image.hpp b/include/mbgl/map/still_image.hpp
index b9ce0620fa..36922fe95a 100644
--- a/include/mbgl/map/still_image.hpp
+++ b/include/mbgl/map/still_image.hpp
@@ -3,17 +3,15 @@
#include <mbgl/util/noncopyable.hpp>
-#include <string>
#include <cstdint>
namespace mbgl {
class StillImage : util::noncopyable {
public:
- uint16_t width = 0;
- uint16_t height = 0;
- using Pixel = uint32_t;
- std::unique_ptr<Pixel[]> pixels;
+ size_t width = 0;
+ size_t height = 0;
+ std::unique_ptr<uint8_t[]> pixels;
};
}