From 8b6f2978f5caf73b055de25456ee66d59a309cc1 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 26 Dec 2022 00:57:11 -0500 Subject: [PATCH] constructor --- include/blt/std/queues.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/blt/std/queues.h b/include/blt/std/queues.h index 991c058..73ff529 100644 --- a/include/blt/std/queues.h +++ b/include/blt/std/queues.h @@ -13,6 +13,10 @@ namespace BLT { struct node { T t; node* next; + node(const T& t, node* next){ + this->t = t; + this->next = next; + } }; template