mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix some trivial warnings
This commit is contained in:
@@ -334,10 +334,10 @@ public:
|
||||
|
||||
#if defined (MPREAL_HAVE_EXPLICIT_CONVERTERS)
|
||||
explicit operator bool () const { return toBool(); }
|
||||
explicit operator int () const { return toLong(); }
|
||||
explicit operator int () const { return int(toLong()); }
|
||||
explicit operator long () const { return toLong(); }
|
||||
explicit operator long long () const { return toLong(); }
|
||||
explicit operator unsigned () const { return toULong(); }
|
||||
explicit operator unsigned () const { return unsigned(toULong()); }
|
||||
explicit operator unsigned long () const { return toULong(); }
|
||||
explicit operator unsigned long long () const { return toULong(); }
|
||||
explicit operator float () const { return toFloat(); }
|
||||
|
||||
Reference in New Issue
Block a user