Browse Source

Fixed an issue that gcc has problems with.

Former-commit-id: 69c9b71d01
tempestpy_adaptions
dehnert 10 years ago
parent
commit
4758ef73ec
  1. 3
      src/storage/expressions/ToExprtkStringVisitor.cpp

3
src/storage/expressions/ToExprtkStringVisitor.cpp

@ -7,7 +7,8 @@ namespace storm {
} }
std::string ToExprtkStringVisitor::toString(BaseExpression const* expression) { std::string ToExprtkStringVisitor::toString(BaseExpression const* expression) {
stream = std::stringstream();
stream.str("");
stream.clear();
expression->accept(*this); expression->accept(*this);
return std::move(stream.str()); return std::move(stream.str());
} }

Loading…
Cancel
Save