summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-04-17 13:36:50 +0300
commited99a7781a6bedcdd682d1f9122c952a244e4c69 (patch)
tree373cbd0ee71b17212c82f1f2e97650e4413e58c1 /src/mbgl/gfx
parent63ef5298cd70ce720a6c1289435b5043517b6f30 (diff)
downloadqtlocation-mapboxgl-ed99a7781a6bedcdd682d1f9122c952a244e4c69.tar.gz
[core] Fix google-build-namespaces errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/gfx')
-rw-r--r--src/mbgl/gfx/attribute.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/gfx/attribute.hpp b/src/mbgl/gfx/attribute.hpp
index ecb2b5e1b2..907087d8bb 100644
--- a/src/mbgl/gfx/attribute.hpp
+++ b/src/mbgl/gfx/attribute.hpp
@@ -24,8 +24,6 @@
namespace mbgl {
namespace gfx {
-namespace {
-
template <typename, std::size_t> struct AttributeDataTypeOf;
template <> struct AttributeDataTypeOf<int8_t, 1> : std::integral_constant<AttributeDataType, AttributeDataType::Byte> {};
template <> struct AttributeDataTypeOf<int8_t, 2> : std::integral_constant<AttributeDataType, AttributeDataType::Byte2> {};
@@ -56,8 +54,6 @@ template <> struct AttributeDataTypeOf<float, 2> : std::integral_constant<Attrib
template <> struct AttributeDataTypeOf<float, 3> : std::integral_constant<AttributeDataType, AttributeDataType::Float3> {};
template <> struct AttributeDataTypeOf<float, 4> : std::integral_constant<AttributeDataType, AttributeDataType::Float4> {};
-} // namespace
-
template <typename T, std::size_t N>
class AttributeType {
public: