summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorFredrik Karlsson <bjorn.fredrik.karlsson@gmail.com>2016-07-05 22:46:04 +0200
committerGitHub <noreply@github.com>2016-07-05 22:46:04 +0200
commit546469459fd7a2350cff40fc3e8896fe3581c2f6 (patch)
treef6bc98a314b59f03a071dc4c98a3ea5343fa35cc /src/mbgl
parentb2197236b6592d10af6e9f6eccd9b3d4ee19aef3 (diff)
downloadqtlocation-mapboxgl-546469459fd7a2350cff40fc3e8896fe3581c2f6.tar.gz
[ios] #3979 compress telemetry events (#5490)
* [ios] #3979 wip gzip telemetry events * [ios] expose compression from core instead of adding a new dependency * [ios] #3979 Exposed decompress from mbgl and added a test case * [ios] #3979 cleanup * [ios] #3979 cleaned up test case * [ios] #3979 cleanup * [ios] #3979 gzip -> deflate
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/util/compression.cpp2
-rw-r--r--src/mbgl/util/compression.hpp12
2 files changed, 1 insertions, 13 deletions
diff --git a/src/mbgl/util/compression.cpp b/src/mbgl/util/compression.cpp
index e189991b55..18cb189d02 100644
--- a/src/mbgl/util/compression.cpp
+++ b/src/mbgl/util/compression.cpp
@@ -1,4 +1,4 @@
-#include "compression.hpp"
+#include <mbgl/util/compression.hpp>
#include <zlib.h>
diff --git a/src/mbgl/util/compression.hpp b/src/mbgl/util/compression.hpp
deleted file mode 100644
index 8f89a3ac03..0000000000
--- a/src/mbgl/util/compression.hpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#pragma once
-
-#include <string>
-
-namespace mbgl {
-namespace util {
-
-std::string compress(const std::string &raw);
-std::string decompress(const std::string &raw);
-
-} // namespace util
-} // namespace mbgl