Common: Move FixedSizeQueue into Common namespace

Gets this out of the global namespace.
This commit is contained in:
Lioncash
2023-03-22 01:23:15 -04:00
parent 4ae4a28465
commit 0f326c6067
4 changed files with 8 additions and 5 deletions
@@ -7,7 +7,7 @@
TEST(FixedSizeQueue, Simple)
{
FixedSizeQueue<int, 5> q;
Common::FixedSizeQueue<int, 5> q;
EXPECT_EQ(0u, q.size());
@@ -34,7 +34,7 @@ TEST(FixedSizeQueue, Simple)
TEST(FixedSizeQueue, RingBuffer)
{
// Testing if queue works when used as a ring buffer
FixedSizeQueue<int, 5> q;
Common::FixedSizeQueue<int, 5> q;
EXPECT_EQ(0u, q.size());
@@ -84,7 +84,7 @@ public:
TEST(FixedSizeQueue, NonTrivialTypes)
{
// Testing if construction/destruction of non-trivial types happens as expected
FixedSizeQueue<NonTrivialTypeTestData, 2> q;
Common::FixedSizeQueue<NonTrivialTypeTestData, 2> q;
EXPECT_EQ(0u, q.size());