diff options
author | Maxim Pimenov <m@maps.me> | 2018-04-09 20:40:11 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2018-04-11 14:27:47 +0300 |
commit | 0dc0baa25593b462517e0a8e603154dcd917cdc5 (patch) | |
tree | 93452601558bbb6260e55962ba5360ebda8699ee /indexer/locality_object.cpp | |
parent | b333719087bbe70c2e3d6ec03151b131670e2d26 (diff) |
[coding] [geometry] Refactored geometry serialization.
This commit moves all the code related to geometry
serialization from indexer/ and coding/ to a single place,
namely coding/geometry_coding.{c,h}pp.
Diffstat (limited to 'indexer/locality_object.cpp')
-rw-r--r-- | indexer/locality_object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/locality_object.cpp b/indexer/locality_object.cpp index 3ca1d9bb30..a4e21f50a1 100644 --- a/indexer/locality_object.cpp +++ b/indexer/locality_object.cpp @@ -1,16 +1,16 @@ #include "indexer/locality_object.hpp" #include "indexer/feature_decl.hpp" -#include "indexer/geometry_serialization.hpp" #include "coding/byte_stream.hpp" +#include "coding/geometry_coding.hpp" namespace indexer { void LocalityObject::Deserialize(char const * data) { ArrayByteSource src(data); - serial::CodingParams cp = {}; + serial::GeometryCodingParams cp = {}; ReadPrimitiveFromSource(src, m_id); uint8_t type; ReadPrimitiveFromSource(src, type); |