We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953541f commit 7ee2318Copy full SHA for 7ee2318
include/slick_queue.h
@@ -181,7 +181,7 @@ class SlickQueue {
181
data_ = new ((uint8_t*)lpvMem + 64 + sizeof(slot) * (SIZE + 1024)) T[SIZE + 1024];
182
}
183
else {
184
- reserved_ = reinterpret_cast<std::atomic_uint_fast64_t*>(lpvMem_);
+ reserved_ = reinterpret_cast<std::atomic_uint_fast64_t*>(lpvMem);
185
control_ = reinterpret_cast<slot*>((uint8_t*)lpvMem + 64);
186
data_ = reinterpret_cast<T*>((uint8_t*)lpvMem + 64 + sizeof(slot) * (SIZE + 1024));
187
0 commit comments