summaryrefslogtreecommitdiff
path: root/include/mbgl/util/image.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-19 13:32:22 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-01-19 13:34:56 -0800
commit6709bdcacd5a45a10b554f3f225206c9494e5e43 (patch)
tree0117df5dcf6eadad1d6b6c5208b41a782e46258b /include/mbgl/util/image.hpp
parent2010fbb0e61cbe7c0b08560118ca887fc1d7193e (diff)
downloadqtlocation-mapboxgl-6709bdcacd5a45a10b554f3f225206c9494e5e43.tar.gz
Revert WebP support due to broken builds
This reverts commits 2010fbb0e61cbe7c0b08560118ca887fc1d7193e, a361ce47a19d37b96b48cd605c62c5ab79bba462, and d004bb275ae3ea60bb6c2febd6fa22f1f51c3993.
Diffstat (limited to 'include/mbgl/util/image.hpp')
-rw-r--r--include/mbgl/util/image.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/mbgl/util/image.hpp b/include/mbgl/util/image.hpp
index 7927b777ea..fde42c7c5e 100644
--- a/include/mbgl/util/image.hpp
+++ b/include/mbgl/util/image.hpp
@@ -21,11 +21,6 @@ public:
height(h),
data(std::make_unique<uint8_t[]>(size())) {}
- Image(size_t w, size_t h, std::unique_ptr<uint8_t[]> data_)
- : width(w),
- height(h),
- data(std::move(data_)) {}
-
size_t stride() const { return width * 4; }
size_t size() const { return width * height * 4; }