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 | 7751e4be762857b91f7dfa5c10f0f024aebd0079 (patch) | |
tree | 0b3aa111a854ec3a0e9eb8362f1efdfbdab22482 /src/mbgl/gfx | |
parent | c92be2965c8c8f36aed1cf86d8e44915855b4806 (diff) | |
download | qtlocation-mapboxgl-7751e4be762857b91f7dfa5c10f0f024aebd0079.tar.gz |
[core] Fix google-default-arguments errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/gfx')
-rw-r--r-- | src/mbgl/gfx/context.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/gfx/context.hpp b/src/mbgl/gfx/context.hpp index fe0851be11..75670c4c59 100644 --- a/src/mbgl/gfx/context.hpp +++ b/src/mbgl/gfx/context.hpp @@ -43,9 +43,8 @@ public: virtual void reduceMemoryUsage() = 0; public: - virtual std::unique_ptr<OffscreenTexture> - createOffscreenTexture(Size, - TextureChannelDataType = TextureChannelDataType::UnsignedByte) = 0; + virtual std::unique_ptr<OffscreenTexture> createOffscreenTexture(Size, TextureChannelDataType) = 0; + public: // Creates an empty texture with the specified dimensions. Texture createTexture(const Size size, |