aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;