Skip to content

Commit

Permalink
clang format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Dec 2, 2024
1 parent e7a8f78 commit f4fec02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion cpp/src/DataStorm/NodeSessionI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ namespace
class NodeForwarder : public Node, public enable_shared_from_this<NodeForwarder>
{
public:
NodeForwarder(shared_ptr<NodeSessionManager> nodeSessionManager, shared_ptr<NodeSessionI> nodeSession, NodePrx node)
NodeForwarder(
shared_ptr<NodeSessionManager> nodeSessionManager,
shared_ptr<NodeSessionI> nodeSession,
NodePrx node)
: _nodeSessionManager(std::move(nodeSessionManager)),
_nodeSession(std::move(nodeSession)),
_node(std::move(node))
Expand Down
6 changes: 3 additions & 3 deletions cpp/src/DataStorm/NodeSessionManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ namespace DataStormI
// The map is indexed by the identity of the nodes.
std::map<Ice::Identity, std::shared_ptr<NodeSessionI>> _sessions;

// The `Lookup` proxy for the `ConnectTo` node, which is set when there is an active connection to the target node.
// If the `DataStorm.Node.ConnectTo` property is configured, the session manager attempts to connect to the specified
// node and sets this member once the connection is established.
// The `Lookup` proxy for the `ConnectTo` node, which is set when there is an active connection to the target
// node. If the `DataStorm.Node.ConnectTo` property is configured, the session manager attempts to connect to
// the specified node and sets this member once the connection is established.
std::optional<DataStormContract::LookupPrx> _connectedTo;

mutable Ice::ConnectionPtr _exclude;
Expand Down

0 comments on commit f4fec02

Please sign in to comment.