fix unpaired copy-ctor/op= reported by PVS-Stydio

For #192.

* bin/common_trans.cc, bin/common_trans.hh, spot/twa/acc.hh:
Add an operator= in addition to the copy constructor.
* spot/twaalgos/ltl2tgba_fm.cc: Use the default constructor.
* spot/ta/taproduct.cc, spot/ta/taproduct.hh: Delete an unused copy
constructor.
This commit is contained in:
Alexandre Duret-Lutz 2016-10-28 22:41:41 +02:00
parent 63818a3e69
commit d0112a7b8a
6 changed files with 27 additions and 17 deletions

View file

@ -1856,11 +1856,6 @@ namespace spot
{
}
transition(const transition& other)
: dest(other.dest), prom(other.prom), cond(other.cond)
{
}
bool operator<(const transition& other) const
{
if (dest < other.dest)