diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2014-05-08 00:33:09 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2014-05-08 00:33:09 +0200 |
commit | 8352aebb256079236163589876dbcc901c3ac25a (patch) | |
tree | 19ecf0def860ae7471bfd066b19193d1f2c6e6df /gmpxx.h | |
parent | ccfcd77b97a5cb3a5b75bb7b0981732817cb2719 (diff) | |
download | gmp-8352aebb256079236163589876dbcc901c3ac25a.tar.gz |
The C++ standard was modified so common_type now decays.
Diffstat (limited to 'gmpxx.h')
-rw-r--r-- | gmpxx.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1232,9 +1232,9 @@ namespace std { }; template <class T, class U> - struct common_type <__gmp_expr<T, U>, __gmp_expr<T, U> > + struct common_type <__gmp_expr<T, U> > { - typedef __gmp_expr<T, U> type; + typedef __gmp_expr<T, T> type; }; #define __GMPXX_DECLARE_COMMON_TYPE(typ) \ |