Move ServiceQueueBase out of detail namespace

This commit is contained in:
Vinnie Falco
2013-10-25 16:36:36 -07:00
parent aeb335ebdc
commit 7bbf6c553f
2 changed files with 4 additions and 11 deletions

View File

@@ -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;

View File

@@ -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 {
//------------------------------------------------------------------------------