Resolved compiler warnings with clang.
This commit is contained in:
		@@ -24,8 +24,6 @@ class Logger
 | 
			
		||||
		explicit Logger();
 | 
			
		||||
		explicit Logger(ColorStream &&outputStream);
 | 
			
		||||
		explicit Logger(ColorStream &&outputStream, ColorStream &&errorStream);
 | 
			
		||||
		Logger(Logger &&other);
 | 
			
		||||
		Logger &operator=(Logger &&other);
 | 
			
		||||
 | 
			
		||||
		ColorStream &outputStream();
 | 
			
		||||
		ColorStream &errorStream();
 | 
			
		||||
 
 | 
			
		||||
@@ -57,7 +57,7 @@ class QuantifiedCRTP: public Quantified
 | 
			
		||||
		ExpressionPointer simplified() override;
 | 
			
		||||
		ExpressionPointer decomposed(DerivedPredicates &derivedPredicates) override;
 | 
			
		||||
 | 
			
		||||
		void collectParameters(std::set<VariablePointer> ¶meters);
 | 
			
		||||
		void collectParameters(std::set<VariablePointer> ¶meters) override;
 | 
			
		||||
 | 
			
		||||
		void print(std::ostream &ostream) const override;
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
@@ -64,25 +64,6 @@ Logger::Logger(ColorStream &&outputStream, ColorStream &&errorStream)
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
Logger::Logger(Logger &&other)
 | 
			
		||||
:	m_outputStream{std::move(other.m_outputStream)},
 | 
			
		||||
	m_errorStream{std::move(other.m_errorStream)},
 | 
			
		||||
	m_logPriority{other.m_logPriority},
 | 
			
		||||
	m_abortPriority{other.m_abortPriority}
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
Logger &Logger::operator=(Logger &&other)
 | 
			
		||||
{
 | 
			
		||||
	*this = std::move(other);
 | 
			
		||||
 | 
			
		||||
	return *this;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
ColorStream &Logger::outputStream()
 | 
			
		||||
{
 | 
			
		||||
	return m_outputStream;
 | 
			
		||||
 
 | 
			
		||||
@@ -63,7 +63,7 @@ ExpressionPointer Expression::simplified()
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
[[ noreturn ]] ExpressionPointer Expression::decomposed(expressions::DerivedPredicates &)
 | 
			
		||||
ExpressionPointer Expression::decomposed(expressions::DerivedPredicates &)
 | 
			
		||||
{
 | 
			
		||||
	throw output::TranslatorException("expression cannot be decomposed (not normalized)");
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user