summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpretryqueue.h
diff options
context:
space:
mode:
authorBrad Linden <46733234+brad-linden@users.noreply.github.com>2024-05-23 13:02:08 -0700
committerGitHub <noreply@github.com>2024-05-23 13:02:08 -0700
commit0cc832c38a34013a9eebf8d3caad2921bead265d (patch)
tree8d916206343d075fc85e90e83ec9dabe8b01376d /indra/llcorehttp/_httpretryqueue.h
parent03c4458bdcc6821a3047f93b729d412e274ab9af (diff)
parent9f6849e081deac1f62ab3010ee0984e17749c9e6 (diff)
Merge pull request #1528 from secondlife/brad/merge-maint-a-to-dev
merge maint-a (including maint-x) into gltf_development
Diffstat (limited to 'indra/llcorehttp/_httpretryqueue.h')
-rw-r--r--indra/llcorehttp/_httpretryqueue.h54
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_