Browse Source

Fixed return of local variable

main
Matthias Volk 7 years ago
parent
commit
7f799ecb28
  1. 2
      src/storm-pgcl/settings/modules/PGCLSettings.cpp
  2. 2
      src/storm-pgcl/settings/modules/PGCLSettings.h

2
src/storm-pgcl/settings/modules/PGCLSettings.cpp

@ -43,7 +43,7 @@ namespace storm {
return this->getOption(pgclToJaniOptionName).getHasOptionBeenSet(); return this->getOption(pgclToJaniOptionName).getHasOptionBeenSet();
} }
std::string const& PGCLSettings::getWriteToJaniFilename() const {
std::string PGCLSettings::getWriteToJaniFilename() const {
return this->getOption(pgclToJaniOptionName).getArgumentByName("filename").getValueAsString(); return this->getOption(pgclToJaniOptionName).getArgumentByName("filename").getValueAsString();
} }

2
src/storm-pgcl/settings/modules/PGCLSettings.h

@ -32,7 +32,7 @@ namespace storm {
/** /**
* returns the file name where jani output should be stored. * returns the file name where jani output should be stored.
*/ */
std::string const& getWriteToJaniFilename() const;
std::string getWriteToJaniFilename() const;
/** /**
* Whether the program graph should be drawn (dot output) * Whether the program graph should be drawn (dot output)

Loading…
Cancel
Save