Skip to content

Commit

Permalink
Remove unused test_area_alloc_input_path
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Aug 8, 2024
1 parent 8e15cca commit 795ef62
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions lib/include/ert/util/test_work_area.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ extern "C" {

#include <stdbool.h>

char *test_work_area_alloc_input_path(const test_work_area_type *work_area,
const char *input_path);
test_work_area_type *test_work_area_alloc(const char *test_name);
test_work_area_type *test_work_area_alloc__(const char *test_name,
bool store_area);
Expand Down
7 changes: 0 additions & 7 deletions lib/util/test_work_area.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,6 @@ test_work_area_get_original_cwd(const test_work_area_type *work_area) {
return work_area->original_cwd().c_str();
}

char *test_work_area_alloc_input_path(const test_work_area_type *work_area,
const char *input_path) {
std::string relocated_input_path =
work_area->original_path(std::string(input_path));
return util_alloc_string_copy(relocated_input_path.c_str());
}

/**
The point of this function is that the test code should be able to
access the file @input_file independent of the fact that it has
Expand Down

0 comments on commit 795ef62

Please sign in to comment.