Browse Source

enable shared from this does not need to be const, in particular, the constness makes python bindings for formulae impossible

main
Sebastian Junges 10 years ago
parent
commit
f95b5f1dc0
  1. 2
      src/storm/logic/Formula.h

2
src/storm/logic/Formula.h

@ -25,7 +25,7 @@ namespace storm {
// Forward-declare formula information class for info() method.
class FormulaInformation;
class Formula : public std::enable_shared_from_this<Formula const> {
class Formula : public std::enable_shared_from_this<Formula> {
public:
// Make the destructor virtual to allow deletion of objects of subclasses via a pointer to this class.
virtual ~Formula() {

Loading…
Cancel
Save