Skip to content

Commit

Permalink
fixed rename
Browse files Browse the repository at this point in the history
  • Loading branch information
TillHeinzel committed Sep 6, 2019
1 parent 03ca4af commit 2847155
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions include/pipes2/detail/core/Node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ namespace tillh::pipes2

template<class Connections_, class PrimaryConnection_, class Op_>
Node(Connections_&& _connections, PrimaryConnection_&& _connectPrimaryion,
Op_&& _op): connectPrimaryion(std::forward<PrimaryConnection_>(_connectPrimaryion)), connections(
Op_&& _op): primaryConnection(std::forward<PrimaryConnection_>(_connectPrimaryion)), connections(
std::forward<Connections_>(_connections)),
op(std::forward<Op_>(_op))
{}

PrimaryConnection connectPrimaryion;
PrimaryConnection primaryConnection;
Connections connections;
Op op;
};
Expand All @@ -36,9 +36,9 @@ namespace tillh::pipes2
namespace tillh::pipes2
{
template<class Op, class Connections, class PrimaryConnection>
auto makeNode(Op op, Connections connections, PrimaryConnection connectPrimaryion)
auto makeNode(Op op, Connections connections, PrimaryConnection primaryConnection)
{
return Node<Op, Connections, PrimaryConnection>(std::move(connections), std::move(connectPrimaryion), std::move(op));
return Node<Op, Connections, PrimaryConnection>(std::move(connections), std::move(primaryConnection), std::move(op));
}


Expand Down
4 changes: 2 additions & 2 deletions include/pipes2/detail/core/connect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace tillh::pipes2
template<std::size_t index, class Node1, class Node2>
auto replace(Node1 node1, Node2 node2)
{
return makeNode(node1.op, tuple_replace<index>(node1.connections, node2), node1.connectPrimaryion);
return makeNode(node1.op, tuple_replace<index>(node1.connections, node2), node1.primaryConnection);
}


Expand Down Expand Up @@ -140,7 +140,7 @@ namespace tillh::pipes2
}
else
{
return makeNode(std::move(lhs.op), std::move(lhs.connections), connectPrimary_impl(lhs.connectPrimaryion, rhs));
return makeNode(std::move(lhs.op), std::move(lhs.connections), connectPrimary_impl(lhs.primaryConnection, rhs));
}
}

Expand Down
2 changes: 1 addition & 1 deletion include/pipes2/detail/core/evaluate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace tillh::pipes2

if constexpr(hasPrimary_v<NodeT>)
{
return makeOutput(std::move(node.op), std::tuple_cat(std::move(node.connections), std::make_tuple(std::move(node.connectPrimaryion))));
return makeOutput(std::move(node.op), std::tuple_cat(std::move(node.connections), std::make_tuple(std::move(node.primaryConnection))));
}
else
{
Expand Down

0 comments on commit 2847155

Please sign in to comment.