performance tests adjusted

This commit is contained in:
LPTK 2013-06-11 17:11:20 +02:00
commit 9fc61f5a3b
2 changed files with 6 additions and 2 deletions

View file

@ -49,7 +49,7 @@ Caner Candan <caner.candan@thalesgroup.com>
#include "eoParser.h"
#define USE_SET
#undef USE_SET
//#undef USE_SET
#ifdef USE_SET
#include <set>

View file

@ -22,8 +22,12 @@ static void test2()
eo::log.redirect(*os);
for (int i = 0; i < NB; i++)
eo::log.addRedirect(*(++os));
/*
for (int i = 0; i < NB; i++)
eo::log.removeRedirect(*(os--));
eo::log.removeRedirect(*(os--));*/
os = (std::ostream*) 1;
for (int i = 0; i < NB; i++)
eo::log.removeRedirect(*(++os));
}
int main(int ac, char** av)