aboutsummaryrefslogtreecommitdiffstats
path: root/src/datastructures
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastructures')
-rw-r--r--src/datastructures/linkedlists/sentinel-template1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datastructures/linkedlists/sentinel-template b/src/datastructures/linkedlists/sentinel-template
index 43bebab..9485226 100644
--- a/src/datastructures/linkedlists/sentinel-template
+++ b/src/datastructures/linkedlists/sentinel-template
@@ -65,6 +65,7 @@
* Initialiser
*/
{
+ this.edge = new Node(null);
this.edge.next = this.edge;
£>if (( with_prev )); then
this.edge.previous = this.edge;