Fix a compilation failure with g++-3.3.
* src/misc/hash.hh (identity_hash): New function. * src/tgba/tgbaexplicit.hh (tgba_explicit_number): Use identity_hash<int> instead of std::tr1::hash<int> that does not exist with g++-3.3.
This commit is contained in:
parent
74f14567d1
commit
b39e68c51e
3 changed files with 25 additions and 4 deletions
|
|
@ -360,11 +360,11 @@ namespace spot
|
|||
|
||||
#ifndef SWIG
|
||||
class tgba_explicit_number:
|
||||
public tgba_explicit_labelled<int, std::tr1::hash<int> >
|
||||
public tgba_explicit_labelled<int, identity_hash<int> >
|
||||
{
|
||||
public:
|
||||
tgba_explicit_number(bdd_dict* dict):
|
||||
tgba_explicit_labelled<int, std::tr1::hash<int> >(dict)
|
||||
tgba_explicit_labelled<int, identity_hash<int> >(dict)
|
||||
{};
|
||||
virtual ~tgba_explicit_number();
|
||||
virtual state* add_default_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue