mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix warning "type qualifiers ignored on function return type" for long long scalar types
This commit is contained in:
@@ -78,6 +78,8 @@ template<> struct ei_is_arithmetic<signed int> { enum { ret = true }; };
|
|||||||
template<> struct ei_is_arithmetic<unsigned int> { enum { ret = true }; };
|
template<> struct ei_is_arithmetic<unsigned int> { enum { ret = true }; };
|
||||||
template<> struct ei_is_arithmetic<signed long> { enum { ret = true }; };
|
template<> struct ei_is_arithmetic<signed long> { enum { ret = true }; };
|
||||||
template<> struct ei_is_arithmetic<unsigned long> { enum { ret = true }; };
|
template<> struct ei_is_arithmetic<unsigned long> { enum { ret = true }; };
|
||||||
|
template<> struct ei_is_arithmetic<signed long long> { enum { ret = true }; };
|
||||||
|
template<> struct ei_is_arithmetic<unsigned long long> { enum { ret = true }; };
|
||||||
|
|
||||||
template<typename T> struct ei_makeconst { typedef const T type; };
|
template<typename T> struct ei_makeconst { typedef const T type; };
|
||||||
template<typename T> struct ei_makeconst<const T> { typedef const T type; };
|
template<typename T> struct ei_makeconst<const T> { typedef const T type; };
|
||||||
|
|||||||
Reference in New Issue
Block a user