From: Richard Kreckel Date: Wed, 19 Oct 2005 01:46:14 +0000 (+0000) Subject: * struct map_function: add a virtual dtor (turns off lots of compiler X-Git-Tag: release_1-4-0~146 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=a48fe78199a2249d2839195064b63ed60d47c7cd;p=ginac.git * struct map_function: add a virtual dtor (turns off lots of compiler warnings). --- 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;