c++11: work around Swig 2.0

* src/misc/common.hh: Conditionally define SPOT_DELETED to = delete.
* src/ltlvisit/simplify.hh, src/ta/taexplicit.hh, src/ta/taproduct.hh,
src/tgba/bdddict.hh, src/tgba/taatgba.hh, src/tgba/tgbabddconcrete.hh,
src/tgba/tgbaexplicit.hh, src/tgba/tgbaproduct.hh, src/tgba/tgbasgba.hh,
src/tgba/tgbatba.hh, src/tgba/tgbaunion.hh, src/tgba/wdbacomp.cc: Use
SPOT_DELETED.
* wrap/python/spot.i: Include common.hh.
* wrap/python/Makefile.am: Remove useless definition of SPOT_API
and BUDDY_API.
This commit is contained in:
Alexandre Duret-Lutz 2013-12-16 11:57:31 +01:00
parent 9cfc9f0f3f
commit c88e22d0ba
15 changed files with 39 additions and 30 deletions

View file

@ -132,8 +132,8 @@ namespace spot
private:
// Disallow copy.
ta_explicit(const ta_explicit& other) = delete;
ta_explicit& operator=(const ta_explicit& other) = delete;
ta_explicit(const ta_explicit& other) SPOT_DELETED;
ta_explicit& operator=(const ta_explicit& other) SPOT_DELETED;
const tgba* tgba_;
bdd all_acceptance_conditions_;

View file

@ -202,8 +202,8 @@ namespace spot
const kripke* kripke_;
// Disallow copy.
ta_product(const ta_product&) = delete;
ta_product& operator=(const ta_product&) = delete;
ta_product(const ta_product&) SPOT_DELETED;
ta_product& operator=(const ta_product&) SPOT_DELETED;
};