From 6ab916f2870245ea351f60b1dfaa9d96b42facdc Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 5 Jan 2023 12:37:15 -0500 Subject: [PATCH] Naming conflict --- include/blt/std/queue.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/blt/std/queue.h b/include/blt/std/queue.h index 91a821f..5c293e5 100644 --- a/include/blt/std/queue.h +++ b/include/blt/std/queue.h @@ -28,7 +28,7 @@ namespace BLT { * @tparam T type stored in the queue */ template - class flat_queue { + class flat_stack { private: int m_size = 16; int m_insertIndex = 0; @@ -81,7 +81,7 @@ namespace BLT { return m_insertIndex; } - ~flat_queue() { + ~flat_stack() { delete[](m_data); } }; @@ -91,7 +91,7 @@ namespace BLT { * @tparam T type stored in the queue */ template - class flat_stack { + class flat_queue { private: int m_size = 16; int m_headIndex = 0; @@ -147,7 +147,7 @@ namespace BLT { return m_insertIndex - m_headIndex; } - ~flat_stack() { + ~flat_queue() { delete[](m_data); } };