Browse Source

switched from empty virtual destructors to default destructors. Also: apparently no swimming for me, Mr. B!

Former-commit-id: 31340d1502 [formerly 5229b67e7d]
Former-commit-id: dfb77cf346
tempestpy_adaptions
dehnert 8 years ago
parent
commit
1dc4af0e28
  1. 5
      src/storage/dd/Dd.cpp
  2. 2
      src/storage/dd/Dd.h
  3. 6
      src/storage/sparse/StateValuations.cpp
  4. 2
      src/storage/sparse/StateValuations.h

5
src/storage/dd/Dd.cpp

@ -14,11 +14,6 @@ namespace storm {
// Intentionally left empty.
}
template<DdType LibraryType>
Dd<LibraryType>::~Dd() {
// Intentionally left empty.
}
template<DdType LibraryType>
bool Dd<LibraryType>::containsMetaVariable(storm::expressions::Variable const& metaVariable) const {
return containedMetaVariables.find(metaVariable) != containedMetaVariables.end();

2
src/storage/dd/Dd.h

@ -30,7 +30,7 @@ namespace storm {
Dd(Dd<LibraryType>&& other) = default;
Dd& operator=(Dd<LibraryType>&& other) = default;
virtual ~Dd();
virtual ~Dd() = default;
/*!
* Retrieves the support of the current DD.

6
src/storage/sparse/StateValuations.cpp

@ -7,11 +7,7 @@ namespace storm {
StateValuations::StateValuations(state_type const& numberOfStates) : valuations(numberOfStates) {
// Intentionally left empty.
}
StateValuations::~StateValuations() {
// Intentionally left empty.
}
std::string StateValuations::stateInfo(state_type const& state) const {
return valuations[state].toString();
}

2
src/storage/sparse/StateValuations.h

@ -20,7 +20,7 @@ namespace storm {
*/
StateValuations(state_type const& numberOfStates);
virtual ~StateValuations();
virtual ~StateValuations() = default;
// A mapping from state indices to their variable valuations.
std::vector<storm::expressions::SimpleValuation> valuations;

Loading…
Cancel
Save