ltl: use "final" and "override" in the AST classes
* src/ltlast/atomic_prop.hh, src/ltlast/binop.hh, src/ltlast/bunop.hh, src/ltlast/constant.hh, src/ltlast/unop.hh: Here. * src/misc/common.hh: Disable final for swig3.0.
This commit is contained in:
parent
6f572ebcc8
commit
63da386a66
6 changed files with 18 additions and 15 deletions
|
|
@ -78,8 +78,11 @@
|
|||
|
||||
// Swig 2.0 does not understand '= delete'. This already
|
||||
// works with the development version of Swig 3.
|
||||
// Swig 3.0.2 still does not understand 'final' when used
|
||||
// at class definition.
|
||||
#ifdef SWIG
|
||||
#define SPOT_DELETED
|
||||
#define final
|
||||
#else
|
||||
#define SPOT_DELETED = delete
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue