From 701743a4ecffaabb34c1d98aee87f6fb5bc646ec Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 22 Jan 2017 16:43:35 +0100 Subject: [PATCH] gsdx boost queue: init all states --- plugins/GSdx/boost_spsc_queue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/boost_spsc_queue.hpp b/plugins/GSdx/boost_spsc_queue.hpp index cd91249ed7..beeab60099 100644 --- a/plugins/GSdx/boost_spsc_queue.hpp +++ b/plugins/GSdx/boost_spsc_queue.hpp @@ -69,7 +69,7 @@ class ringbuffer_base public: ringbuffer_base(void): - write_index_(0), read_index_(0) + write_index_(0), read_index_(0), pending_pop_read_index(0) { // Use dynamically allocation here with no T object dependency // Otherwise the ringbuffer_base destructor will call the destructor