diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-12 14:49:34 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-13 23:32:06 +0300 |
commit | 6e22de8cced45f13bb04e4f35b9ed46f38d2365d (patch) | |
tree | 19bdbaf25c1742dd9e05a2c820f8dfd5cd655fb0 /test/util | |
parent | 7ac7ac13f5feb3e67546454158e1095e5efaab44 (diff) | |
download | qtlocation-mapboxgl-6e22de8cced45f13bb04e4f35b9ed46f38d2365d.tar.gz |
[tidy] Check modernize-use-auto
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
Diffstat (limited to 'test/util')
-rw-r--r-- | test/util/thread_local.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/thread_local.cpp b/test/util/thread_local.cpp index 5233a1806f..d2ec7f70a5 100644 --- a/test/util/thread_local.cpp +++ b/test/util/thread_local.cpp @@ -80,8 +80,8 @@ TEST(ThreadLocalStorage, AutoReclaim) { unsigned counter = 0; - DtorCounter* dtorCounter1 = new DtorCounter{ &counter }; - DtorCounter* dtorCounter2 = new DtorCounter{ &counter }; + auto dtorCounter1 = new DtorCounter{ &counter }; + auto dtorCounter2 = new DtorCounter{ &counter }; ThreadContext context = {"Test"}; |