diff options
author | Maxim Pimenov <m@maps.me> | 2016-09-23 18:40:43 +0300 |
---|---|---|
committer | Maxim Pimenov <m@maps.me> | 2016-09-26 13:20:19 +0300 |
commit | 5e9ee80498a0ae978781bff123f8a8032fc9d342 (patch) | |
tree | 3a923d1ea54881fd8871895eb040efa5824532ce /indexer/editable_map_object.hpp | |
parent | b97a8791ff701f30f9c801c36b7b0cb2fc4f7739 (diff) |
Review fixes.
Diffstat (limited to 'indexer/editable_map_object.hpp')
-rw-r--r-- | indexer/editable_map_object.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indexer/editable_map_object.hpp b/indexer/editable_map_object.hpp index d003fa8894..feaefc4619 100644 --- a/indexer/editable_map_object.hpp +++ b/indexer/editable_map_object.hpp @@ -109,7 +109,10 @@ public: string const & GetHouseNumber() const; string GetPostcode() const; string GetWikipedia() const; + + // These two methods should only be used in tests. uint64_t GetTestId() const; + void SetTestId(uint64_t id); void SetEditableProperties(osm::EditableProperties const & props); // void SetFeatureID(FeatureID const & fid); @@ -143,8 +146,6 @@ public: void SetCuisines(vector<string> const & cuisine); void SetOpeningHours(string const & openingHours); - void SetTestId(uint64_t const & id); - /// Special mark that it's a point feature, not area or line. void SetPointType(); /// Enables advanced mode with direct access to default name and disables any recalculations. |