remove unneeded member in Extractor, move to function scope

This commit is contained in:
Dennis Luxen 2014-07-11 10:10:50 +02:00
parent 2a19ded9d5
commit 0061b3fcbf
2 changed files with 1 additions and 3 deletions

View File

@ -244,7 +244,7 @@ int Extractor::Run(int argc, char *argv[])
ExtractionContainers extraction_containers;
string_map[""] = 0;
extractor_callbacks = new ExtractorCallbacks(extraction_containers, string_map);
auto extractor_callbacks = new ExtractorCallbacks(extraction_containers, string_map);
BaseParser *parser;
if (file_has_pbf_format)
{

View File

@ -10,8 +10,6 @@ class ExtractorCallbacks;
/** \brief Class of 'extract' utility. */
class Extractor
{
ExtractorCallbacks *extractor_callbacks;
protected:
unsigned requested_num_threads;
boost::filesystem::path config_file_path;