diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-04-03 12:27:14 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-04-05 11:49:17 +0200 |
commit | 3ceabcd3ec91dbd9458d3c5b78fb12c3182636e1 (patch) | |
tree | b8be2ac790afce844178a314b42683ab9d06f744 /src/mbgl/storage | |
parent | d7aaf83421261087a99d18d92eca9637c1bf72f8 (diff) | |
download | qtlocation-mapboxgl-3ceabcd3ec91dbd9458d3c5b78fb12c3182636e1.tar.gz |
[core] clang-tidy fixes
Diffstat (limited to 'src/mbgl/storage')
-rw-r--r-- | src/mbgl/storage/file_source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/storage/file_source.cpp b/src/mbgl/storage/file_source.cpp index 5854682771..5f60a05278 100644 --- a/src/mbgl/storage/file_source.cpp +++ b/src/mbgl/storage/file_source.cpp @@ -18,7 +18,7 @@ std::shared_ptr<FileSource> FileSource::getSharedFileSource(const ResourceOption it = it->second.expired() ? fileSources.erase(it) : ++it; } - const uint64_t context = reinterpret_cast<uint64_t>(options.platformContext()); + const auto context = reinterpret_cast<uint64_t>(options.platformContext()); const std::string key = options.baseURL() + '|' + options.accessToken() + '|' + options.cachePath() + '|' + util::toString(context); std::shared_ptr<mbgl::FileSource> fileSource; |