* src/tgbaalgos/emptiness_stats.hh (unsigned_statistics::stats_map_):

Use char* for keys, not std::string.
This commit is contained in:
Alexandre Duret-Lutz 2005-02-04 11:55:45 +00:00
parent 9c2c3926c7
commit 479c4833e0
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-02-04 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/emptiness_stats.hh (unsigned_statistics::stats_map_):
Use char* for keys, not std::string.
2005-02-03 Alexandre Duret-Lutz <adl@src.lip6.fr>
* tgbaalgos/emptiness_stats.hh (unsigned_statistics): New base

View file

@ -24,7 +24,6 @@
#include <cassert>
#include <map>
#include <string>
namespace spot
{
@ -51,7 +50,7 @@ namespace spot
protected:
typedef unsigned (unsigned_statistics::*unsigned_fun_)() const;
typedef std::map<std::string, unsigned_fun_> stats_map_;
typedef std::map<const char*, unsigned_fun_> stats_map_;
stats_map_ stats_;
};