mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Move ServiceQueueBase out of detail namespace
This commit is contained in:
@@ -328,6 +328,8 @@ private:
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
class ServiceQueueBase
|
||||
@@ -399,8 +401,6 @@ protected:
|
||||
static ThreadLocalValue <ServiceQueueBase*> s_service;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/** A queue for disatching function calls on other threads.
|
||||
@@ -408,7 +408,7 @@ protected:
|
||||
calling run, run_one, poll, or poll_one.
|
||||
*/
|
||||
template <class Allocator = std::allocator <char> >
|
||||
class ServiceQueueType : public detail::ServiceQueueBase
|
||||
class ServiceQueueType : public ServiceQueueBase
|
||||
{
|
||||
private:
|
||||
using ServiceQueueBase::Item;
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
|
||||
namespace beast {
|
||||
|
||||
namespace detail {
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
class ServiceQueueBase::ScopedServiceThread : public List <ScopedServiceThread>::Node
|
||||
{
|
||||
public:
|
||||
@@ -189,12 +185,9 @@ void ServiceQueueBase::enqueue (Item* item)
|
||||
//
|
||||
ThreadLocalValue <ServiceQueueBase*> ServiceQueueBase::s_service;
|
||||
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace detail
|
||||
{
|
||||
namespace detail {
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user