Skip to content

Commit 80caf8a

Browse files
committed
apply clang-format
1 parent 73ebd16 commit 80caf8a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

examples/clientServerLifeSimulator_004/server/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,7 @@ int main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
337337
auto clientsLock = clients.acquireLock();
338338
for (auto it = clients.begin(clientsLock); it != clients.end(clientsLock); ++it)
339339
{
340-
if (it->second->getStatus().getNetworkStatus() !=
341-
fge::net::ClientStatus::NetworkStatus::AUTHENTICATED)
340+
if (it->second->getStatus().getNetworkStatus() != fge::net::ClientStatus::NetworkStatus::AUTHENTICATED)
342341
{
343342
continue;
344343
}

includes/FastEngine/network/C_client.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#include "C_identity.hpp"
2222
#include "FastEngine/C_event.hpp"
2323
#include "FastEngine/C_propertyList.hpp"
24-
#include "FastEngine/network/C_protocol.hpp"
2524
#include "FastEngine/network/C_netCommand.hpp"
25+
#include "FastEngine/network/C_protocol.hpp"
2626
#include <array>
2727
#include <atomic>
2828
#include <chrono>
@@ -429,8 +429,8 @@ class FGE_API Client
429429
Event _event; ///< Optional client-side event that can be synchronized with the server
430430
PropertyList _data; ///< Some user-defined client properties
431431
OneWayLatencyPlanner _latencyPlanner; ///< A latency planner that will help latency calculation
432-
ClientContext _context; ///< The client context containing utility classes for server/client networking
433-
bool _mtuFinalizedFlag{false}; ///< A flag that indicate if the MTU has been finalized from the remote side
432+
ClientContext _context; ///< The client context containing utility classes for server/client networking
433+
bool _mtuFinalizedFlag{false}; ///< A flag that indicate if the MTU has been finalized from the remote side
434434

435435
private:
436436
mutable std::optional<Timestamp> g_correctorTimestamp;

0 commit comments

Comments
 (0)