get rid of SPOT_DELETED

It was only needed with Swig versions older than what we have now.

* src/misc/common.hh: Here.
* src/misc/bitvect.hh, src/misc/common.hh, src/ta/taexplicit.hh,
src/ta/taproduct.hh, src/tl/simplify.hh, src/twa/bdddict.hh,
src/twa/taatgba.hh, src/twa/twaproduct.hh: Use = delete directly.
This commit is contained in:
Alexandre Duret-Lutz 2015-10-01 20:06:39 +02:00
parent 17a7a782a9
commit 06971a2698
8 changed files with 15 additions and 20 deletions

View file

@ -309,8 +309,8 @@ namespace spot
private:
// Disallow copy.
bdd_dict(const bdd_dict& other) SPOT_DELETED;
bdd_dict& operator=(const bdd_dict& other) SPOT_DELETED;
bdd_dict(const bdd_dict& other) = delete;
bdd_dict& operator=(const bdd_dict& other) = delete;
};
typedef std::shared_ptr<bdd_dict> bdd_dict_ptr;

View file

@ -70,8 +70,8 @@ namespace spot
private:
// Disallow copy.
taa_tgba(const taa_tgba& other) SPOT_DELETED;
taa_tgba& operator=(const taa_tgba& other) SPOT_DELETED;
taa_tgba(const taa_tgba& other) = delete;
taa_tgba& operator=(const taa_tgba& other) = delete;
};
/// Set of states deriving from spot::state.

View file

@ -114,8 +114,8 @@ namespace spot
private:
// Disallow copy.
twa_product(const twa_product&) SPOT_DELETED;
twa_product& operator=(const twa_product&) SPOT_DELETED;
twa_product(const twa_product&) = delete;
twa_product& operator=(const twa_product&) = delete;
};
/// \brief A lazy product with different initial states.