Skip to content

Commit

Permalink
Remove unused geo_region_free__
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Aug 23, 2024
1 parent ad66439 commit 6c0d017
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions lib/geometry/geo_region.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ void geo_region_free(geo_region_type *region) {
free(region);
}

void geo_region_free__(void *arg) {
geo_region_type *region = geo_region_safe_cast(arg);
geo_region_free(region);
}

static void geo_region_polygon_select__(geo_region_type *region,
const geo_polygon_type *polygon,
bool select_inside, bool select) {
Expand Down
1 change: 0 additions & 1 deletion lib/include/ert/geometry/geo_region.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ typedef struct geo_region_struct geo_region_type;
geo_region_type *geo_region_alloc(const geo_pointset_type *pointset,
bool preselect);
void geo_region_free(geo_region_type *region);
void geo_region_free__(void *arg);
void geo_region_reset(geo_region_type *region);
const int_vector_type *geo_region_get_index_list(geo_region_type *region);

Expand Down

0 comments on commit 6c0d017

Please sign in to comment.