Skip to content

Commit 63f563c

Browse files
Copilotgreenc-FNAL
andcommitted
Fix nodes& nodes parameter shadowing in registrar constructor
Co-authored-by: greenc-FNAL <2372949+greenc-FNAL@users.noreply.github.com>
1 parent 5deb57b commit 63f563c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

phlex/core/registrar.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ namespace phlex::experimental {
6767
using node_creator = std::function<Ptr(std::vector<std::string>, std::vector<std::string>)>;
6868

6969
public:
70-
explicit registrar(nodes& nodes, std::vector<std::string>& errors) :
71-
nodes_{&nodes}, errors_{&errors}
70+
explicit registrar(nodes& node_map, std::vector<std::string>& errors) :
71+
nodes_{&node_map}, errors_{&errors}
7272
{
7373
}
7474

0 commit comments

Comments
 (0)