diff --git a/lib/include/ert/util/test_work_area.hpp b/lib/include/ert/util/test_work_area.hpp index 0e1ed9415..41d063f62 100644 --- a/lib/include/ert/util/test_work_area.hpp +++ b/lib/include/ert/util/test_work_area.hpp @@ -38,8 +38,6 @@ extern "C" { #include -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); diff --git a/lib/util/test_work_area.cpp b/lib/util/test_work_area.cpp index 4dac7796d..2b8b7ec71 100644 --- a/lib/util/test_work_area.cpp +++ b/lib/util/test_work_area.cpp @@ -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