Skip to content

Commit

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

well_conn_collection_type *well_conn_collection_alloc(void);
void well_conn_collection_free(well_conn_collection_type *wellcc);
void well_conn_collection_free__(void *arg);
int well_conn_collection_get_size(const well_conn_collection_type *wellcc);
const well_conn_type *
well_conn_collection_iget_const(const well_conn_collection_type *wellcc,
Expand Down
5 changes: 0 additions & 5 deletions lib/resdata/well_conn_collection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ void well_conn_collection_free(well_conn_collection_type *wellcc) {
delete wellcc;
}

void well_conn_collection_free__(void *arg) {
well_conn_collection_type *wellcc = well_conn_collection_safe_cast(arg);
well_conn_collection_free(wellcc);
}

int well_conn_collection_get_size(const well_conn_collection_type *wellcc) {
return wellcc->connection_list.size();
}
Expand Down

0 comments on commit 5f50573

Please sign in to comment.