Remove useless const qualifiers from returns
Remove const qualifiers applied to POD return values, as these are meaningless and ignored by the compiler and are therefore potentially misleading. (They also trip -Wignored-qualifiers.)
This commit is contained in:
@@ -58,7 +58,7 @@ namespace HACD
|
||||
T m_data[3];
|
||||
};
|
||||
template<typename T>
|
||||
const bool Colinear(const Vec3<T> & a, const Vec3<T> & b, const Vec3<T> & c);
|
||||
bool Colinear(const Vec3<T> & a, const Vec3<T> & b, const Vec3<T> & c);
|
||||
template<typename T>
|
||||
const T Volume(const Vec3<T> & a, const Vec3<T> & b, const Vec3<T> & c, const Vec3<T> & d);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user