summaryrefslogtreecommitdiff
path: root/gmpxx.h
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2015-11-08 09:00:09 +0100
committerMarc Glisse <marc.glisse@inria.fr>2015-11-08 09:00:09 +0100
commit2acb0596a3e84d0160d4ed5bda97b1d19c773a9b (patch)
treeb2a005d06d314ec5b5d615d40ff9dbfe702bd0b4 /gmpxx.h
parent6d1600476a229dbf98ba7a9f90e4cee64d94e7b8 (diff)
downloadgmp-2acb0596a3e84d0160d4ed5bda97b1d19c773a9b.tar.gz
Mark the static member function inline.
Diffstat (limited to 'gmpxx.h')
-rw-r--r--gmpxx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmpxx.h b/gmpxx.h
index 75f5d5627..96d16775c 100644
--- a/gmpxx.h
+++ b/gmpxx.h
@@ -1451,7 +1451,7 @@ static __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, eval_fun> > \
fun(const __gmp_expr<T, U> &expr);
#define __GMPNN_DECLARE_UNARY_STATIC_MEMFUN(T, fun, eval_fun, type, bigtype) \
-static __gmp_expr<T, __gmp_unary_expr<bigtype, eval_fun> > \
+static inline __gmp_expr<T, __gmp_unary_expr<bigtype, eval_fun> > \
fun(type expr);
#define __GMPNS_DECLARE_UNARY_STATIC_MEMFUN(T, fun, eval_fun, type) \
@@ -3185,7 +3185,7 @@ fun(const __gmp_expr<T, U> &expr) \
}
#define __GMPNN_DEFINE_UNARY_STATIC_MEMFUN(T, fun, eval_fun, type, bigtype) \
-__gmp_expr<T, __gmp_unary_expr<bigtype, eval_fun> > \
+inline __gmp_expr<T, __gmp_unary_expr<bigtype, eval_fun> > \
fun(type expr) \
{ \
return __gmp_expr<T, __gmp_unary_expr<bigtype, eval_fun> >(expr); \