summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2019-04-18 15:27:40 -0700
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 18:39:21 -0400
commitc26c2bc3f0a4c254aac8ded86162d72eee7dea0a (patch)
tree8f08a26451f88cec32c131c5773cec02f122ad20 /indra/llmessage
parent8013a81adca731ebaade605290b2a4e7f94d5d05 (diff)
Improved aggregate init syntax for DefaultPoolSizes map.
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llcoproceduremanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llmessage/llcoproceduremanager.cpp b/indra/llmessage/llcoproceduremanager.cpp
index 1b82cb8c99..46c29d82b7 100644
--- a/indra/llmessage/llcoproceduremanager.cpp
+++ b/indra/llmessage/llcoproceduremanager.cpp
@@ -37,12 +37,13 @@
#include "llexception.h"
#include "stringize.h"
+using namespace std::literals;
+
//=========================================================================
// Map of pool sizes for known pools
-static const std::map<std::string, U32> DefaultPoolSizes =
-{
- {"Upload", 1},
- {"AIS", 1},
+static const std::map<std::string, U32> DefaultPoolSizes{
+ {"Upload"s, 1},
+ {"AIS"s, 1},
// *TODO: Rider for the moment keep AIS calls serialized otherwise the COF will tend to get out of sync.
};
@@ -347,7 +348,6 @@ void LLCoprocedurePool::coprocedureInvokerCoro(LLCoreHttpUtil::HttpCoroutineAdap
{
QueuedCoproc::ptr_t coproc;
boost::fibers::channel_op_status status;
- using namespace std::chrono_literals;
while ((status = mPendingCoprocs.pop_wait_for(coproc, 10s)) != boost::fibers::channel_op_status::closed)
{
if(status == boost::fibers::channel_op_status::timeout)