Skip to content

Commit

Permalink
Rename couplingFileFlag() to setCouplingFileFlag()
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhagland committed Jan 14, 2025
1 parent b150f75 commit 2ca83a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opm/input/eclipse/Schedule/ResCoup/CouplingFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void handleDUMPCUPL(HandlerContext& handlerContext)
}
auto flag_str = deck_item.getTrimmedString(0);
auto coupling_file_flag = couplingFileFlagFromString(flag_str, keyword);
rescoup.couplingFileFlag(coupling_file_flag);
rescoup.setCouplingFileFlag(coupling_file_flag);
schedule_state.rescoup.update( std::move( rescoup ));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CouplingInfo {
static CouplingInfo serializationTestObject();
bool operator==(const CouplingInfo& other) const;

void couplingFileFlag(CouplingFileFlag flag) {
void setCouplingFileFlag(CouplingFileFlag flag) {
m_coupling_file_flag = flag;
}
CouplingFileFlag couplingFileFlag() const {
Expand Down

0 comments on commit 2ca83a3

Please sign in to comment.