[Tile-serving] [openstreetmap/osm2pgsql] Refactor taglist_t class (#1001)

Sarah Hoffmann notifications at github.com
Tue Nov 26 08:28:50 UTC 2019


lonvia commented on this pull request.



>      }
 
-    int indexof(const std::string &key) const
+    /// Is there a tag with this key in the list?
+    bool contains(const std::string &key) const

style: const

>  
 private:
-    const tag_t *_find(const std::string &key) const
+    iterator find_by_key(const std::string &key)

style: const

>  
-        return 0;
+    const_iterator find_by_key(const std::string &key) const

style: const

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1001#pullrequestreview-322793996
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191126/facd6b31/attachment.html>


More information about the Tile-serving mailing list