Reputation: 18218
I defined a variable as follow:
boost::lockfree::spsc_queue<std::vector<char *>, boost::lockfree::capacity<10> > myVariable;
and in my code, I tried to rest it :
myVariable.reset();
but when I am compiling my code I am getting this error:
Error 17 error C2660: 'boost::lockfree::detail::ringbuffer_base<T>::pop' : function does not take 1 arguments C:\Local\boost\boost\lockfree\spsc_queue.hpp
Why I am getting this error?
I am using visual studio 2013 on windows 8.1
Boost version is 1.57
Upvotes: 2
Views: 653