Removed quirk that has become unnecessary with Clingo’s variants.
This commit is contained in:
parent
13ed0b013a
commit
0bb79b6b23
@ -65,7 +65,7 @@ using VariablePointer = std::unique_ptr<Variable>;
|
||||
// Variants
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
using FormulaT = Clingo::Variant<
|
||||
using Formula = Clingo::Variant<
|
||||
And,
|
||||
Biconditional,
|
||||
Boolean,
|
||||
@ -78,12 +78,7 @@ using FormulaT = Clingo::Variant<
|
||||
Or,
|
||||
Predicate>;
|
||||
|
||||
class Formula : public FormulaT
|
||||
{
|
||||
using FormulaT::FormulaT;
|
||||
};
|
||||
|
||||
using TermT = Clingo::Variant<
|
||||
using Term = Clingo::Variant<
|
||||
BinaryOperation,
|
||||
Boolean,
|
||||
Constant,
|
||||
@ -94,11 +89,6 @@ using TermT = Clingo::Variant<
|
||||
String,
|
||||
Variable>;
|
||||
|
||||
class Term : public TermT
|
||||
{
|
||||
using TermT::TermT;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user