Fix -Wignored-qualifiers warning

This commit is contained in:
Lynix
2017-10-10 20:56:54 +02:00
parent 85aa01a562
commit eb6f23d53c
2 changed files with 2 additions and 2 deletions

View File

@@ -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>>();
}