From a48fe78199a2249d2839195064b63ed60d47c7cd Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Wed, 19 Oct 2005 01:46:14 +0000 Subject: [PATCH] * struct map_function: add a virtual dtor (turns off lots of compiler warnings). --- ginac/basic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ginac/basic.h b/ginac/basic.h index e224908a..1434d2ba 100644 --- a/ginac/basic.h +++ b/ginac/basic.h @@ -83,6 +83,7 @@ extern compare_statistics_t compare_statistics; /** Function object for map(). */ struct map_function { + virtual ~map_function() {} typedef const ex & argument_type; typedef ex result_type; virtual ex operator()(const ex & e) = 0; -- 2.44.0