diff --git a/include/extractor/extraction_containers.hpp b/include/extractor/extraction_containers.hpp index 848e4576e..9bdcf4e46 100644 --- a/include/extractor/extraction_containers.hpp +++ b/include/extractor/extraction_containers.hpp @@ -58,8 +58,6 @@ class ExtractionContainers ExtractionContainers(); - ~ExtractionContainers(); - void PrepareData(const std::string &output_file_name, const std::string &restrictions_file_name, const std::string &names_file_name, diff --git a/src/extractor/extraction_containers.cpp b/src/extractor/extraction_containers.cpp index 7aecf09a5..9af67e855 100644 --- a/src/extractor/extraction_containers.cpp +++ b/src/extractor/extraction_containers.cpp @@ -51,18 +51,6 @@ ExtractionContainers::ExtractionContainers() name_lengths.push_back(0); } -ExtractionContainers::~ExtractionContainers() -{ - // FIXME isn't this done implicitly of the stxxl::vectors go out of scope? - used_node_id_list.clear(); - all_nodes_list.clear(); - all_edges_list.clear(); - name_char_data.clear(); - name_lengths.clear(); - restrictions_list.clear(); - way_start_end_id_list.clear(); -} - /** * Processes the collected data and serializes it. * At this point nodes are still referenced by their OSM id.