X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=check%2Ftime_hashmap.cpp;h=4d065b216300bfd93ba171e0ddc4e7effb62e34b;hb=d56a0f74afa5380a1730599c3b1b21f34be2f061;hp=7ff288c96de38404067f4897d0643ca5855f7d59;hpb=83a7ee99a947cbbf331018b803ad6be43a9ccd45;p=ginac.git diff --git a/check/time_hashmap.cpp b/check/time_hashmap.cpp index 7ff288c9..4d065b21 100644 --- a/check/time_hashmap.cpp +++ b/check/time_hashmap.cpp @@ -3,7 +3,7 @@ * Timings for exhashmap<> operations. */ /* - * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,13 +20,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include -#include #include "ginac.h" #include "timer.h" -using namespace std; using namespace GiNaC; +#include +#include +using namespace std; + template static void run_timing(unsigned size, double &time_insert, double &time_find, double &time_erase) {