From 1b68f71348ecf3983b76b40d7940da8377f049b7 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Mon, 29 Apr 2024 07:43:28 +0300 Subject: #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed --- indra/llcorehttp/_httpreadyqueue.h | 90 +++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'indra/llcorehttp/_httpreadyqueue.h') diff --git a/indra/llcorehttp/_httpreadyqueue.h b/indra/llcorehttp/_httpreadyqueue.h index 7418988ec1..0bc0723511 100644 --- a/indra/llcorehttp/_httpreadyqueue.h +++ b/indra/llcorehttp/_httpreadyqueue.h @@ -24,8 +24,8 @@ * $/LicenseInfo$ */ -#ifndef _LLCORE_HTTP_READY_QUEUE_H_ -#define _LLCORE_HTTP_READY_QUEUE_H_ +#ifndef _LLCORE_HTTP_READY_QUEUE_H_ +#define _LLCORE_HTTP_READY_QUEUE_H_ #include @@ -61,64 +61,64 @@ typedef std::deque HttpReadyQueueBase; #else typedef std::priority_queue, - LLCore::HttpOpRequestCompare> HttpReadyQueueBase; + std::deque, + LLCore::HttpOpRequestCompare> HttpReadyQueueBase; #endif // LLCORE_HTTP_READY_QUEUE_IGNORES_PRIORITY class HttpReadyQueue : public HttpReadyQueueBase { public: - HttpReadyQueue() - : HttpReadyQueueBase() - {} - - ~HttpReadyQueue() - {} - + HttpReadyQueue() + : HttpReadyQueueBase() + {} + + ~HttpReadyQueue() + {} + protected: - HttpReadyQueue(const HttpReadyQueue &); // Not defined - void operator=(const HttpReadyQueue &); // Not defined + HttpReadyQueue(const HttpReadyQueue &); // Not defined + void operator=(const HttpReadyQueue &); // Not defined public: #if LLCORE_HTTP_READY_QUEUE_IGNORES_PRIORITY - // Types and methods needed to make a std::deque look - // more like a std::priority_queue, at least for our - // purposes. - typedef HttpReadyQueueBase container_type; - - const_reference top() const - { - return front(); - } - - void pop() - { - pop_front(); - } - - void push(const value_type & v) - { - push_back(v); - } - + // Types and methods needed to make a std::deque look + // more like a std::priority_queue, at least for our + // purposes. + typedef HttpReadyQueueBase container_type; + + const_reference top() const + { + return front(); + } + + void pop() + { + pop_front(); + } + + void push(const value_type & v) + { + push_back(v); + } + #endif // LLCORE_HTTP_READY_QUEUE_IGNORES_PRIORITY - - const container_type & get_container() const - { - return *this; - } - - container_type & get_container() - { - return *this; - } - + + const container_type & get_container() const + { + return *this; + } + + container_type & get_container() + { + return *this; + } + }; // end class HttpReadyQueue } // end namespace LLCore -#endif // _LLCORE_HTTP_READY_QUEUE_H_ +#endif // _LLCORE_HTTP_READY_QUEUE_H_ -- cgit v1.2.3