remove unneeded member in Extractor, move to function scope
This commit is contained in:
parent
2a19ded9d5
commit
0061b3fcbf
@ -244,7 +244,7 @@ int Extractor::Run(int argc, char *argv[])
|
|||||||
ExtractionContainers extraction_containers;
|
ExtractionContainers extraction_containers;
|
||||||
|
|
||||||
string_map[""] = 0;
|
string_map[""] = 0;
|
||||||
extractor_callbacks = new ExtractorCallbacks(extraction_containers, string_map);
|
auto extractor_callbacks = new ExtractorCallbacks(extraction_containers, string_map);
|
||||||
BaseParser *parser;
|
BaseParser *parser;
|
||||||
if (file_has_pbf_format)
|
if (file_has_pbf_format)
|
||||||
{
|
{
|
||||||
|
@ -10,8 +10,6 @@ class ExtractorCallbacks;
|
|||||||
/** \brief Class of 'extract' utility. */
|
/** \brief Class of 'extract' utility. */
|
||||||
class Extractor
|
class Extractor
|
||||||
{
|
{
|
||||||
ExtractorCallbacks *extractor_callbacks;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
unsigned requested_num_threads;
|
unsigned requested_num_threads;
|
||||||
boost::filesystem::path config_file_path;
|
boost::filesystem::path config_file_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user