diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-11-03 12:07:13 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-11-07 18:51:47 +0100 |
commit | bd3d4bc89a7ce072a32782f2113ef5d838a7913c (patch) | |
tree | 4be6bb340ed22a5d90b74cf56114d7cc00236e01 /src/mbgl/gl/uniform.hpp | |
parent | ed72581e0c9a1f42dda2d659a1596de20201ce3e (diff) | |
download | qtlocation-mapboxgl-bd3d4bc89a7ce072a32782f2113ef5d838a7913c.tar.gz |
[core] force explicit initialization of uniform values
force users to use the actual names to avoid implicit conversion accidentally targeting the wrong shader
Diffstat (limited to 'src/mbgl/gl/uniform.hpp')
-rw-r--r-- | src/mbgl/gl/uniform.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/gl/uniform.hpp b/src/mbgl/gl/uniform.hpp index 645a638024..b6723e2e4d 100644 --- a/src/mbgl/gl/uniform.hpp +++ b/src/mbgl/gl/uniform.hpp @@ -18,7 +18,6 @@ class Uniform { public: class Value { public: - Value(T t_) : t(std::move(t_)) {} T t; }; |