Fix -Wignored-qualifiers warning
This commit is contained in:
parent
85aa01a562
commit
eb6f23d53c
|
|
@ -67,7 +67,7 @@ namespace Nz
|
|||
NAZARA_UTILITY_API void TransformVertices(VertexPointers vertexPointers, unsigned int vertexCount, const Matrix4f& matrix);
|
||||
|
||||
template<typename T> constexpr ComponentType ComponentTypeId();
|
||||
template<typename T> constexpr const ComponentType GetComponentTypeOf();
|
||||
template<typename T> constexpr ComponentType GetComponentTypeOf();
|
||||
}
|
||||
#include <Nazara/Utility/Algorithm.inl>
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace Nz
|
|||
template<> constexpr ComponentType ComponentTypeId<Quaternionf>() { return ComponentType_Quaternion; }
|
||||
|
||||
template<typename T>
|
||||
constexpr const ComponentType GetComponentTypeOf()
|
||||
constexpr ComponentType GetComponentTypeOf()
|
||||
{
|
||||
return ComponentTypeId<std::decay_t<T>>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue