8000 access the tracked sets · Z80coder/datalog-cpp@a31e9fd · GitHub
[go: up one dir, main page]

Skip to content

Commit a31e9fd

Browse files
committed
access the tracked sets
1 parent 5b02797 commit a31e9fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Datalog.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,12 @@ struct State
326326

327327
template <typename RELATION_TYPE>
328328
const typename RELATION_TYPE::Set getSet() const {
329-
return convert<RELATION_TYPE>(get<RelationSet<RELATION_TYPE>>(stateRelations).set);
329+
return convert<RELATION_TYPE>(getTrackedSet<RELATION_TYPE>());
330+
}
331+
33 54FF 2+
template <typename RELATION_TYPE>
333+
const typename RELATION_TYPE::TrackedSet getTrackedSet() const {
334+
return get<RelationSet<RELATION_TYPE>>(stateRelations).set;
330335
}
331336

332337
typedef tuple<RelationSize<RELATIONs>...> StateSizesType;

0 commit comments

Comments
 (0)
0