Skip to content

Commit a0da5c5

Browse files
committed
Remove unused includes out of options.hpp
We need other includes elsewhere to compensate...
1 parent 0a54991 commit a0da5c5

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

src/options.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
#include "config.h"
1111
#include "format.hpp"
1212
#include "logging.hpp"
13+
#include "node-ram-cache.hpp"
1314
#include "options.hpp"
15+
#include "reprojection.hpp"
1416
#include "sprompt.hpp"
1517

1618
#include <algorithm>

src/options.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
1010
* For a full list of authors see the git log.
1111
*/
1212

13-
#include "node-ram-cache.hpp"
14-
#include "reprojection.hpp"
15-
1613
#include <osmium/osm/box.hpp>
1714

1815
#include <boost/optional.hpp>
1916
#include <memory>
2017
#include <string>
2118
#include <vector>
2219

20+
class reprojection;
21+
2322
/// Variants for generation of hstore column
2423
enum class hstore_column : char
2524
{

src/output.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <osmium/index/id_set.hpp>
2323

2424
#include "options.hpp"
25+
#include "osmtypes.hpp"
2526
#include "thread-pool.hpp"
2627

2728
struct middle_query_t;

tests/common-options.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
#include "options.hpp"
14+
#include "reprojection.hpp"
1415

1516
#include "common-pg.hpp"
1617

0 commit comments

Comments
 (0)