summaryrefslogtreecommitdiff
path: root/include/mbgl/util
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-10 18:51:52 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-12 18:07:36 +0300
commit25b2250c32c1881990718c7de7b87f33ab703e79 (patch)
tree0d5b0a1daa8764489a351b8c757d196be315fc24 /include/mbgl/util
parentfa36110dfbdc05b511a3f85461eaca4a29e446a1 (diff)
downloadqtlocation-mapboxgl-25b2250c32c1881990718c7de7b87f33ab703e79.tar.gz
[tidy] modernize-use-using
Diffstat (limited to 'include/mbgl/util')
-rw-r--r--include/mbgl/util/noncopyable.hpp2
-rw-r--r--include/mbgl/util/run_loop.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/util/noncopyable.hpp b/include/mbgl/util/noncopyable.hpp
index 5216b7b7e6..8cb7e198d9 100644
--- a/include/mbgl/util/noncopyable.hpp
+++ b/include/mbgl/util/noncopyable.hpp
@@ -17,7 +17,7 @@ protected:
};
} // namespace non_copyable_
-typedef non_copyable_::noncopyable noncopyable;
+using noncopyable = non_copyable_::noncopyable;
} // namespace util
} // namespace mbgl
diff --git a/include/mbgl/util/run_loop.hpp b/include/mbgl/util/run_loop.hpp
index 5236850d83..1804fb12bd 100644
--- a/include/mbgl/util/run_loop.hpp
+++ b/include/mbgl/util/run_loop.hpp
@@ -16,7 +16,7 @@
namespace mbgl {
namespace util {
-typedef void * LOOP_HANDLE;
+using LOOP_HANDLE = void *;
class RunLoop : public Scheduler,
private util::noncopyable {