Browse Source

fixed typo in arg list of GameFormula

tempestpy_adaptions
Stefan Pranger 4 years ago
parent
commit
53ac9a3873
  1. 3
      src/storm/logic/GameFormula.cpp
  2. 2
      src/storm/logic/GameFormula.h

3
src/storm/logic/GameFormula.cpp

@ -4,8 +4,7 @@
namespace storm {
namespace logic {
GameFormula::GameFormula(Coalition coalition, std::shared_ptr<Formula const> subFormula) : coalition(coalition), subformula(subformula) {
STORM_PRINT_AND_LOG("CTOR subf usecount:" << subformula.use_count() << std::endl);
GameFormula::GameFormula(Coalition coalition, std::shared_ptr<Formula const> const& subformula) : coalition(coalition), subformula(subformula) {
// Intentionally left empty.
}

2
src/storm/logic/GameFormula.h

@ -9,7 +9,7 @@ namespace storm {
namespace logic {
class GameFormula : public Formula {
public:
GameFormula(Coalition coalition, std::shared_ptr<Formula const> subFormula);
GameFormula(Coalition coalition, std::shared_ptr<Formula const> const& subFormula);
~GameFormula() {
// Intentionally left empty.

Loading…
Cancel
Save