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/_httpretryqueue.h | 54 +++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'indra/llcorehttp/_httpretryqueue.h') diff --git a/indra/llcorehttp/_httpretryqueue.h b/indra/llcorehttp/_httpretryqueue.h index 5d8c529cff..8545368d9e 100644 --- a/indra/llcorehttp/_httpretryqueue.h +++ b/indra/llcorehttp/_httpretryqueue.h @@ -24,8 +24,8 @@ * $/LicenseInfo$ */ -#ifndef _LLCORE_HTTP_RETRY_QUEUE_H_ -#define _LLCORE_HTTP_RETRY_QUEUE_H_ +#ifndef _LLCORE_HTTP_RETRY_QUEUE_H_ +#define _LLCORE_HTTP_RETRY_QUEUE_H_ #include @@ -49,41 +49,41 @@ namespace LLCore struct HttpOpRetryCompare { - bool operator()(const HttpOpRequest::ptr_t &lhs, const HttpOpRequest::ptr_t &rhs) - { - return lhs->mPolicyRetryAt < rhs->mPolicyRetryAt; - } + bool operator()(const HttpOpRequest::ptr_t &lhs, const HttpOpRequest::ptr_t &rhs) + { + return lhs->mPolicyRetryAt < rhs->mPolicyRetryAt; + } }; - + typedef std::priority_queue, - LLCore::HttpOpRetryCompare> HttpRetryQueueBase; + std::deque, + LLCore::HttpOpRetryCompare> HttpRetryQueueBase; class HttpRetryQueue : public HttpRetryQueueBase { public: - HttpRetryQueue() - : HttpRetryQueueBase() - {} - - ~HttpRetryQueue() - {} - + HttpRetryQueue() + : HttpRetryQueueBase() + {} + + ~HttpRetryQueue() + {} + protected: - HttpRetryQueue(const HttpRetryQueue &); // Not defined - void operator=(const HttpRetryQueue &); // Not defined + HttpRetryQueue(const HttpRetryQueue &); // Not defined + void operator=(const HttpRetryQueue &); // Not defined public: - const container_type & get_container() const - { - return c; - } + const container_type & get_container() const + { + return c; + } - container_type & get_container() - { - return c; - } + container_type & get_container() + { + return c; + } }; // end class HttpRetryQueue @@ -91,4 +91,4 @@ public: } // end namespace LLCore -#endif // _LLCORE_HTTP_RETRY_QUEUE_H_ +#endif // _LLCORE_HTTP_RETRY_QUEUE_H_ -- cgit v1.2.3