Browse Source

Silenced a few warnings.

tempestpy_adaptions
Tim Quatmann 5 years ago
parent
commit
555fd90536
  1. 4
      src/storm-parsers/parser/ExpressionParser.h
  2. 4
      src/storm-parsers/parser/FormulaParserGrammar.h
  3. 4
      src/storm/solver/SmtSolver.h
  4. 4
      src/storm/storage/expressions/BinaryRelationExpression.h
  5. 3
      src/storm/storage/expressions/ExpressionManager.h

4
src/storm-parsers/parser/ExpressionParser.h

@ -49,8 +49,8 @@ namespace storm {
ExpressionParser(storm::expressions::ExpressionManager const& manager, qi::symbols<char, uint_fast64_t> const& invalidIdentifiers_ = qi::symbols<char, uint_fast64_t>(), bool enableErrorHandling = true, bool allowBacktracking = false);
~ExpressionParser();
ExpressionParser(ExpressionParser const& other) = default;
ExpressionParser& operator=(ExpressionParser const& other) = default;
ExpressionParser(ExpressionParser const& other) = delete;
ExpressionParser& operator=(ExpressionParser const& other) = delete;
/*!
* Sets an identifier mapping that is used to determine valid variables in the expression. The mapped-to

4
src/storm-parsers/parser/FormulaParserGrammar.h

@ -25,8 +25,8 @@ namespace storm {
FormulaParserGrammar(std::shared_ptr<storm::expressions::ExpressionManager const> const& manager);
FormulaParserGrammar(std::shared_ptr<storm::expressions::ExpressionManager> const& manager);
FormulaParserGrammar(FormulaParserGrammar const& other) = default;
FormulaParserGrammar& operator=(FormulaParserGrammar const& other) = default;
FormulaParserGrammar(FormulaParserGrammar const& other) = delete;
FormulaParserGrammar& operator=(FormulaParserGrammar const& other) = delete;
/*!
* Adds an identifier and the expression it is supposed to be replaced with. This can, for example be used

4
src/storm/solver/SmtSolver.h

@ -73,8 +73,8 @@ namespace storm {
SmtSolver(SmtSolver const& other) = default;
SmtSolver(SmtSolver&& other) = default;
SmtSolver& operator=(SmtSolver const& other) = default;
SmtSolver& operator=(SmtSolver&& other) = default;
SmtSolver& operator=(SmtSolver const& other) = delete;
SmtSolver& operator=(SmtSolver&& other) = delete;
/*!
* Pushes a backtracking point on the solver's stack. A following call to pop() deletes exactly those

4
src/storm/storage/expressions/BinaryRelationExpression.h

@ -26,9 +26,9 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
BinaryRelationExpression(BinaryRelationExpression const& other) = default;
BinaryRelationExpression& operator=(BinaryRelationExpression const& other) = default;
BinaryRelationExpression& operator=(BinaryRelationExpression const& other) = delete;
BinaryRelationExpression(BinaryRelationExpression&&) = default;
BinaryRelationExpression& operator=(BinaryRelationExpression&&) = default;
BinaryRelationExpression& operator=(BinaryRelationExpression&&) = delete;
virtual ~BinaryRelationExpression() = default;

3
src/storm/storage/expressions/ExpressionManager.h

@ -25,8 +25,7 @@ namespace storm {
enum class VariableSelection { OnlyRegularVariables, OnlyAuxiliaryVariables, AllVariables };
VariableIterator(ExpressionManager const& manager, std::unordered_map<std::string, uint_fast64_t>::const_iterator nameIndexIterator, std::unordered_map<std::string, uint_fast64_t>::const_iterator nameIndexIteratorEnd, VariableSelection const& selection);
VariableIterator(VariableIterator const& other) = default;
VariableIterator& operator=(VariableIterator const& other) = default;
VariableIterator(VariableIterator&& other) = default;
// Define the basic input iterator operations.
bool operator==(VariableIterator const& other);

Loading…
Cancel
Save