Commit cb6b74f5 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/tgba/tgbacomplement.cc (state_complement): Remove the copy

constructor.  It does the same thing as the default copy
constructor, and g++ 4.2.3 complained that the copy constructor
of spot::state was not called.  Reported by Denis Poitrenaud.
parent 8901d0d5
2009-10-28 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* src/tgba/tgbacomplement.cc (state_complement): Remove the copy
constructor. It does the same thing as the default copy
constructor, and g++ 4.2.3 complained that the copy constructor
of spot::state was not called. Reported by Denis Poitrenaud.
2009-10-28 Alexandre Duret-Lutz <adl@lrde.epita.fr> 2009-10-28 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* src/ltlast/formula_tree.cc (instanciate, arity): Add a useless * src/ltlast/formula_tree.cc (instanciate, arity): Add a useless
......
...@@ -108,7 +108,6 @@ namespace spot ...@@ -108,7 +108,6 @@ namespace spot
{ {
public: public:
state_complement(); state_complement();
state_complement(const state_complement& other);
state_complement(state_rank_map state_map, state_set state_filter); state_complement(state_rank_map state_map, state_set state_filter);
virtual ~state_complement() {} virtual ~state_complement() {}
...@@ -135,12 +134,6 @@ namespace spot ...@@ -135,12 +134,6 @@ namespace spot
{ {
} }
state_complement::state_complement(const state_complement& other)
{
state_map_ = other.state_map_;
state_filter_ = other.state_filter_;
}
int int
state_complement::compare(const state* o) const state_complement::compare(const state* o) const
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment