Removed quirk that has become unnecessary with Clingo’s variants.

This commit is contained in:
Patrick Lühne 2017-03-23 01:02:53 +01:00
parent 13ed0b013a
commit 0bb79b6b23
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -65,7 +65,7 @@ using VariablePointer = std::unique_ptr<Variable>;
// Variants // Variants
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
using FormulaT = Clingo::Variant< using Formula = Clingo::Variant<
And, And,
Biconditional, Biconditional,
Boolean, Boolean,
@ -78,12 +78,7 @@ using FormulaT = Clingo::Variant<
Or, Or,
Predicate>; Predicate>;
class Formula : public FormulaT using Term = Clingo::Variant<
{
using FormulaT::FormulaT;
};
using TermT = Clingo::Variant<
BinaryOperation, BinaryOperation,
Boolean, Boolean,
Constant, Constant,
@ -94,11 +89,6 @@ using TermT = Clingo::Variant<
String, String,
Variable>; Variable>;
class Term : public TermT
{
using TermT::TermT;
};
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
} }