[Tile-serving] [osm2pgsql] Include cleanup (#467)

Sarah Hoffmann notifications at github.com
Tue Oct 20 21:03:07 UTC 2015


> @@ -60,6 +60,10 @@ int main(int argc, char *argv[])
>  
>  Names should use underscores, not camel case, with class/struct names ending in `_t`.
>  
> +Headers should be included in the order `config.h`, C++ standard library headers,
> +C library headers, Boost headers, and last osm2pgsql files. If the file is a .cpp
> +file, include its .hpp file before all other headers.

I don't think there is any reason to handle the own hpp file different. If at all, put it at the beginning of the osm2pgsql header block.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/467/files#r42553887
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151020/cec92ece/attachment.html>


More information about the Tile-serving mailing list