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:
parent
a6f754b7c7
commit
c0b28dc9c8
6 changed files with 17 additions and 15 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2012, 2013 Laboratoire de Recherche et Développement
|
||||
// Copyright (C) 2012, 2013, 2014 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE).
|
||||
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
|
|
@ -42,7 +42,7 @@ namespace spot
|
|||
public:
|
||||
virtual ~default_environment();
|
||||
virtual const formula* require(const std::string& prop_str);
|
||||
virtual const std::string& name();
|
||||
virtual const std::string& name() const;
|
||||
|
||||
/// Get the sole instance of spot::ltl::default_environment.
|
||||
static default_environment& instance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue