summaryrefslogtreecommitdiff
path: root/src/mbgl/util
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-01-08 23:17:43 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-01-09 01:26:29 +0200
commitd7fdcc73bfcab39f63e547ce2af8435a9859cb08 (patch)
tree223b8f6bb663fff22ea5f65e487c40d280630cb2 /src/mbgl/util
parente7b0b31d58997ce0c849129d07a97cb0740beb7e (diff)
downloadqtlocation-mapboxgl-d7fdcc73bfcab39f63e547ce2af8435a9859cb08.tar.gz
[core] Get rid of ::unref() for Timer and AsyncTask
Not need, legacy from libuv. The RunLoop keep the main loop running until is explicitly no longer needed.
Diffstat (limited to 'src/mbgl/util')
-rw-r--r--src/mbgl/util/async_task.hpp1
-rw-r--r--src/mbgl/util/timer.hpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mbgl/util/async_task.hpp b/src/mbgl/util/async_task.hpp
index 5159e6ce3c..ce273c664c 100644
--- a/src/mbgl/util/async_task.hpp
+++ b/src/mbgl/util/async_task.hpp
@@ -15,7 +15,6 @@ public:
~AsyncTask();
void send();
- void unref();
private:
class Impl;
diff --git a/src/mbgl/util/timer.hpp b/src/mbgl/util/timer.hpp
index 44a516d168..783241847d 100644
--- a/src/mbgl/util/timer.hpp
+++ b/src/mbgl/util/timer.hpp
@@ -17,7 +17,6 @@ public:
void start(Duration timeout, Duration repeat, std::function<void()>&&);
void stop();
- void unref();
private:
class Impl;