8000 expose convert · Z80coder/datalog-cpp@9e892d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e892d3

Browse files
committed
expose convert
1 parent a31e9fd commit 9e892d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Datalog.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,6 @@ struct State
495495
return it;
496496
}
497497

498-
private:
499-
typedef tuple<RELATIONs...> RelationsType;
500-
typedef tuple<typename RELATIONs::Set...> TupleType;
501-
502498
template <typename RELATION_TYPE>
503499
static typename RELATION_TYPE::Set convert(const typename RELATION_TYPE::TrackedSet& trackedSet) {
504500
typename RELATION_TYPE::Set set;
@@ -508,6 +504,10 @@ struct State
508504
return set;
509505
}
510506

507+
private:
508+
typedef tuple<RELATIONs...> RelationsType;
509+
typedef tuple<typename RELATIONs::Set...> TupleType;
510+
511511
template <typename RELATION_TYPE>
512512
static typename RELATION_TYPE::TrackedSet convert(const typename RELATION_TYPE::Set& set) {
513513
typename RELATION_TYPE::TrackedSet trackedSet;

0 commit comments

Comments
 (0)
0