Fix AllocationFailure when multiple instances

This commit is contained in:
Léa Saviot
2018-06-28 17:59:06 +02:00
parent bd61298374
commit cb77fbe2ff
10 changed files with 133 additions and 39 deletions

View File

@@ -11,9 +11,9 @@ TreeNode * LayoutRef::failedAllocationNode() {
}
template <typename T>
LayoutCursor LayoutReference<T>::cursor() const {
LayoutCursor LayoutReference<T>::cursor() {
return LayoutCursor(this->castedNode());
}
template LayoutCursor LayoutReference<LayoutNode>::cursor() const;
template LayoutCursor LayoutReference<CharLayoutNode>::cursor() const;
template LayoutCursor LayoutReference<LayoutNode>::cursor();
template LayoutCursor LayoutReference<CharLayoutNode>::cursor();