浏览代码

no need to cast latencies now that i'm printing longs

Signed-off-by: Gene Walters <[email protected]>
Gene Walters 2 年之前
父节点
当前提交
3eb8e80dc0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MPSGameLift/Code/Source/MatchmakingSystemComponent.cpp

+ 1 - 1
MPSGameLift/Code/Source/MatchmakingSystemComponent.cpp

@@ -265,7 +265,7 @@ namespace MPSGameLift
         AZStd::string httpLatenciesParam;
         AZStd::string httpLatenciesParam;
         for (auto const& [region, latencyMs] : regionalLatencies)
         for (auto const& [region, latencyMs] : regionalLatencies)
         {
         {
-            httpLatenciesParam += AZStd::string::format("%s_%" PRIi64 "_", region.c_str(), aznumeric_cast<uint32_t>(latencyMs.count()));
+            httpLatenciesParam += AZStd::string::format("%s_%" PRIi64 "_", region.c_str(), latencyMs.count());
         }
         }
 
 
         httpLatenciesParam.pop_back();  // pop the trailing underscore
         httpLatenciesParam.pop_back();  // pop the trailing underscore