From d4a58b74cea7c813330aa7813d86713bee205d04 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 14 Nov 2022 23:13:21 +0100 Subject: [PATCH] Remove own definition of enable_if in favor of... ...the definition provided by since C++11. --- ginac/factor.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ginac/factor.cpp b/ginac/factor.cpp index d0d9ce03..9bd105ec 100644 --- a/ginac/factor.cpp +++ b/ginac/factor.cpp @@ -65,6 +65,7 @@ #include "normal.h" #include "add.h" +#include #include #include #include @@ -219,13 +220,6 @@ static void expt_pos(umodpoly& a, unsigned int q) } } -template struct enable_if -{ - typedef T type; -}; - -template struct enable_if { /* empty */ }; - template struct uvar_poly_p { static const bool value = false; -- 2.49.0