Skip to content

Commit

Permalink
Drop extraneous 'friend' declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller authored and program-- committed Jun 27, 2024
1 parent b839ee0 commit b5e5361
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions include/realizations/catchment/Bmi_C_Formulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ namespace realization {
*/
bool is_model_initialized() override;

friend class Bmi_Multi_Formulation;

// Unit test access
friend class ::Bmi_Formulation_Test;
friend class ::Bmi_C_Formulation_Test;
Expand Down
4 changes: 0 additions & 4 deletions include/realizations/catchment/Bmi_Cpp_Formulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ namespace realization {

bool is_model_initialized() override;

protected:

friend class Bmi_Multi_Formulation;

// Unit test access
friend class ::Bmi_Formulation_Test;
friend class ::Bmi_Cpp_Formulation_Test;
Expand Down
2 changes: 0 additions & 2 deletions include/realizations/catchment/Bmi_Fortran_Formulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ namespace realization {

double get_var_value_as_double(const int &index, const std::string &var_name) override;

friend class Bmi_Multi_Formulation;

// Unit test access
friend class ::Bmi_Multi_Formulation_Test;
friend class ::Bmi_Formulation_Test;
Expand Down
2 changes: 0 additions & 2 deletions include/realizations/catchment/Bmi_Py_Formulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ namespace realization {
*/
bool is_model_initialized() override;

friend class Bmi_Multi_Formulation;

// Unit test access
friend class ::Bmi_Formulation_Test;
friend class ::Bmi_Py_Formulation_Test;
Expand Down

0 comments on commit b5e5361

Please sign in to comment.