diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-16 01:08:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-16 01:08:13 +0300 |
| commit | d41e167aa9a22b446cbcfe6fd4ebdd810c61ba73 (patch) | |
| tree | 3ed50d019b3d78c748ed6b46ca69f2ca7943f41a /indra/llcorehttp/_httpretryqueue.h | |
| parent | 29be88d60d654193926add496d2d851f7c217356 (diff) | |
| parent | bdb8caf790207e1a6f46d495a586b38bb52e58e9 (diff) | |
Merge pull request #1478 from secondlife/marchcat/x-mf-merge
Maint X -> Materials Featurette merge
Diffstat (limited to 'indra/llcorehttp/_httpretryqueue.h')
| -rw-r--r-- | indra/llcorehttp/_httpretryqueue.h | 54 |
1 files changed, 27 insertions, 27 deletions
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 <queue> @@ -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<HttpOpRequest::ptr_t, - std::deque<HttpOpRequest::ptr_t>, - LLCore::HttpOpRetryCompare> HttpRetryQueueBase; + std::deque<HttpOpRequest::ptr_t>, + 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_ |
