Update DictionarySourceFactory.cpp

This commit is contained in:
alexey-milovidov 2017-11-27 22:07:07 +03:00
parent d6766a8ef4
commit 5dd7279e15

View File

@ -191,7 +191,7 @@ DictionarySourcePtr DictionarySourceFactory::create(
const auto found = registered_sources.find(source_type); const auto found = registered_sources.find(source_type);
if (found != registered_sources.end()) if (found != registered_sources.end())
{ {
const auto& create_source = found->second; const auto & create_source = found->second;
return create_source(dict_struct, config, config_prefix, sample_block, context); return create_source(dict_struct, config, config_prefix, sample_block, context);
} }
} }