ltl::environment: correctly declare name() as const

* src/ltlenv/declenv.cc, src/ltlenv/declenv.hh,
src/ltlenv/defaultenv.cc, src/ltlenv/defaultenv.hh,
src/ltlenv/environment.hh, src/tgbaalgos/compsusp.cc: Declare name as
const.
This commit is contained in:
Alexandre Duret-Lutz 2014-06-25 23:08:38 +02:00
parent a6f754b7c7
commit c0b28dc9c8
6 changed files with 17 additions and 15 deletions

View file

@ -52,7 +52,7 @@ namespace spot
}
const std::string&
name()
name() const
{
static std::string name("suspended environment");
return name;