Split predicates from their declarations
This refactoring separates predicates from their declarations. The purpose of this is to avoid duplicating properties specific to the predicate declaration and not its occurrences in the program.
This commit is contained in:
@@ -133,7 +133,7 @@ Interval prepareCopy(const Interval &other)
|
||||
|
||||
Predicate prepareCopy(const Predicate &other)
|
||||
{
|
||||
return Predicate(std::string(other.name), prepareCopy(other.arguments));
|
||||
return Predicate(other.declaration, prepareCopy(other.arguments));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user