summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FifoQueue.h
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-01-21 21:16:51 +0100
committermathieui <mathieui@mathieui.net>2016-01-21 21:16:51 +0100
commit3e283ea9f17aa779832db065b2ecc4b19cf03e83 (patch)
treea7e5db6d6550487db024bc9b7b5dd9fa96198aa4 /Source/Core/Common/FifoQueue.h
parent78aa398e7c09adc4fb9318a4c497e8fd1bcd58ba (diff)
More asterisks
Diffstat (limited to 'Source/Core/Common/FifoQueue.h')
-rw-r--r--Source/Core/Common/FifoQueue.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/FifoQueue.h b/Source/Core/Common/FifoQueue.h
index 6f65253cc3..1aa2bcc1b4 100644
--- a/Source/Core/Common/FifoQueue.h
+++ b/Source/Core/Common/FifoQueue.h
@@ -65,7 +65,7 @@ public:
{
if (NeedSize)
m_size--;
- ElementPtr *tmpptr = m_read_ptr;
+ ElementPtr* tmpptr = m_read_ptr;
// advance the read pointer
m_read_ptr = tmpptr->next.load();
// set the next element to nullptr to stop the recursive deletion
@@ -81,7 +81,7 @@ public:
if (NeedSize)
m_size--;
- ElementPtr *tmpptr = m_read_ptr;
+ ElementPtr* tmpptr = m_read_ptr;
m_read_ptr = tmpptr->next.load(std::memory_order_acquire);
t = std::move(tmpptr->current);
tmpptr->next.store(nullptr);
@@ -117,8 +117,8 @@ private:
std::atomic<ElementPtr*> next;
};
- ElementPtr *m_write_ptr;
- ElementPtr *m_read_ptr;
+ ElementPtr* m_write_ptr;
+ ElementPtr* m_read_ptr;
std::atomic<u32> m_size;
};