Create unique_ptr for Spot.

* src/misc/unique_ptr.hh: Create unique_ptr for Spot.
* src/misc/Makefile.am: Register this new file.
* src/tgbatest/ltl2tgba.cc: Replace two calls to delete by the
utilisation of unique_ptr.
* src/tgbaalgos/simulation.cc: Replace two calls to delete by the
utilisation of unique_ptr.
This commit is contained in:
Thomas Badie 2012-09-04 16:19:59 +02:00 committed by Alexandre Duret-Lutz
parent b23296cf61
commit f01d30eb91
4 changed files with 91 additions and 11 deletions

View file

@ -52,6 +52,7 @@ misc_HEADERS = \
optionmap.hh \
random.hh \
timer.hh \
unique_ptr.hh \
version.hh
noinst_LTLIBRARIES = libmisc.la