diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2012-06-01 18:18:53 -0400 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2012-06-01 18:18:53 -0400 |
commit | 640798bb9951bc512bcbcffbe136d42372c99322 (patch) | |
tree | 7872aaf159e8b7cd96556766e6e3500d15841401 /indra/llcorehttp/_httpreadyqueue.h | |
parent | 7b9da4eeda7505162f37cbfa52591f7adff032e7 (diff) |
Platform fixups: typedef for priority_queue, more specific comparator functor.
Diffstat (limited to 'indra/llcorehttp/_httpreadyqueue.h')
-rw-r--r-- | indra/llcorehttp/_httpreadyqueue.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/indra/llcorehttp/_httpreadyqueue.h b/indra/llcorehttp/_httpreadyqueue.h index 283e868b4c..2cd96aefe3 100644 --- a/indra/llcorehttp/_httpreadyqueue.h +++ b/indra/llcorehttp/_httpreadyqueue.h @@ -30,7 +30,7 @@ #include <queue> -#include "_httpoperation.h" +#include "_httpoprequest.h" namespace LLCore @@ -49,13 +49,15 @@ class HttpOpRequest; /// Threading: not thread-safe. Expected to be used entirely by /// a single thread, typically a worker thread of some sort. -class HttpReadyQueue : public std::priority_queue<HttpOpRequest *, - std::deque<HttpOpRequest *>, - LLCore::HttpOpCompare> +typedef std::priority_queue<HttpOpRequest *, + std::deque<HttpOpRequest *>, + LLCore::HttpOpRequestCompare> HttpReadyQueueBase; + +class HttpReadyQueue : public HttpReadyQueueBase { public: HttpReadyQueue() - : priority_queue() + : HttpReadyQueueBase() {} ~HttpReadyQueue() |