This commit is contained in:
Andrey Chulkov 2020-03-22 15:56:25 +03:00
parent 8447a20372
commit 1aaa8a1bac

View File

@ -116,7 +116,7 @@ SmartPolygonDictionary::SmartPolygonDictionary(
: IPolygonDictionary(database_, name_, dict_struct_, std::move(source_ptr_), dict_lifetime_, input_type_, point_type_) : IPolygonDictionary(database_, name_, dict_struct_, std::move(source_ptr_), dict_lifetime_, input_type_, point_type_)
{ {
buckets.reserve(polygons.size()); buckets.reserve(polygons.size());
for (size_t i = 0; i < bucekts.size(); ++i) for (size_t i = 0; i < buckets.size(); ++i)
{ {
buckets.emplace_back({polygons[i]}); buckets.emplace_back({polygons[i]});
} }