feat(CI/Codestyle): check for curly brackets before/after if/else statements (#20977)
* feat(CI/Codestyle): check for braces after if/else statements
* right need to edit a cpp file to trigger cpp check
* Revert "right need to edit a cpp file to trigger cpp check"
This reverts commit 2e34d8c52f.
* fix codestyle in cpp
* Update oculus.cpp
* Update codestyle.py
* Update codestyle.py
* Update codestyle.py
* Update codestyle.py
This commit is contained in:
@@ -932,7 +932,8 @@ void WorldSession::ComputeNewClockDelta()
|
||||
uint32 sampleSizeAfterFiltering = 0;
|
||||
for (auto& pair : _timeSyncClockDeltaQueue.content())
|
||||
{
|
||||
if (pair.second <= latencyMedian + latencyStandardDeviation) {
|
||||
if (pair.second <= latencyMedian + latencyStandardDeviation)
|
||||
{
|
||||
clockDeltasAfterFiltering.push_back(pair.first);
|
||||
sampleSizeAfterFiltering++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user