Skip to content

Commit

Permalink
Remove unused well_branch_collection_free__
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Aug 30, 2024
1 parent 1299b63 commit 5deffca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion lib/include/resdata/well/well_branch_collection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ typedef struct well_branch_collection_struct well_branch_collection_type;

well_branch_collection_type *well_branch_collection_alloc(void);
void well_branch_collection_free(well_branch_collection_type *branches);
void well_branch_collection_free__(void *arg);
bool well_branch_collection_has_branch(
const well_branch_collection_type *branches, int branch_id);
int well_branch_collection_get_size(
Expand Down
6 changes: 0 additions & 6 deletions lib/resdata/well_branch_collection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ void well_branch_collection_free(well_branch_collection_type *branches) {
delete branches;
}

void well_branch_collection_free__(void *arg) {
well_branch_collection_type *branches =
well_branch_collection_safe_cast(arg);
well_branch_collection_free(branches);
}

int well_branch_collection_get_size(
const well_branch_collection_type *branches) {
return branches->__start_segments.size();
Expand Down

0 comments on commit 5deffca

Please sign in to comment.