Skip to content

Commit

Permalink
changed getter API
Browse files Browse the repository at this point in the history
  • Loading branch information
SJulianS committed May 14, 2024
1 parent 63ff941 commit dd1346e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/hawkeye/include/hawkeye/candidate.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ namespace hal
*
* @returns The input register of the candidate.
*/
const std::set<Gate*>& get_in_reg() const;
const std::set<Gate*>& get_input_reg() const;

/**
* Get the candidate's output register.
*
* @returns The output register of the candidate.
*/
const std::set<Gate*>& get_out_reg() const;
const std::set<Gate*>& get_output_reg() const;

private:
/**
Expand Down
4 changes: 2 additions & 2 deletions plugins/hawkeye/src/candidate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ namespace hal
return m_is_round_based;
}

const std::set<Gate*>& Candidate::get_in_reg() const
const std::set<Gate*>& Candidate::get_input_reg() const
{
return m_in_reg;
}

const std::set<Gate*>& Candidate::get_out_reg() const
const std::set<Gate*>& Candidate::get_output_reg() const
{
return m_out_reg;
}
Expand Down

0 comments on commit dd1346e

Please sign in to comment.