diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:30:35 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-04-17 13:36:50 +0300 |
commit | 6559fa82a7905fd7bfe702f99bf81f07ca39299f (patch) | |
tree | d2e7891b0dc0ec9ba094c1b4e8d9793381364b4c /include/mbgl/util/image.hpp | |
parent | a1e5bffa90b8846d709e49efa80e1293d89d8d16 (diff) | |
download | qtlocation-mapboxgl-6559fa82a7905fd7bfe702f99bf81f07ca39299f.tar.gz |
[core] Fix readability-redundant-smartptr-get errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'include/mbgl/util/image.hpp')
-rw-r--r-- | include/mbgl/util/image.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mbgl/util/image.hpp b/include/mbgl/util/image.hpp index e997c02223..75a49550b1 100644 --- a/include/mbgl/util/image.hpp +++ b/include/mbgl/util/image.hpp @@ -56,9 +56,7 @@ public: return !(lhs == rhs); } - bool valid() const { - return !size.isEmpty() && data.get() != nullptr; - } + bool valid() const { return !size.isEmpty() && data != nullptr; } template <typename T = Image> T clone() const { |