File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class NodeImpl : public AutoDiff::internal::Node {
2525
2626 // needed for test::Graph
2727 NodeImpl (int id, std::vector<int >* /* dtorSeqPtr*/ )
28- : mId {id} {};
28+ : mId {id} { };
2929
3030 ~NodeImpl () override = default ;
3131
@@ -48,15 +48,15 @@ using Graph = test::Graph<test::TopoView::NodeImpl>;
4848using AutoDiff::internal::CyclicGraphError;
4949
5050template <typename ... Nodes>
51- auto rootSet (std::shared_ptr<Nodes>... nodePtrs)
51+ auto rootSet (std::shared_ptr<Nodes> const & ... nodePtrs)
5252{
5353 typename TopoView::Roots roots{};
5454 (roots.obj .insert (nodePtrs.get ()), ...);
5555 return roots;
5656}
5757
5858template <typename ... Nodes>
59- auto leafSet (std::shared_ptr<Nodes>... nodePtrs)
59+ auto leafSet (std::shared_ptr<Nodes> const & ... nodePtrs)
6060{
6161 typename TopoView::Leaves leaves{};
6262 (leaves.obj .insert (nodePtrs.get ()), ...);
You can’t perform that action at this time.
0 commit comments