Skip to content

Commit

Permalink
Merge pull request #1453 from Framstag/fix_import_including_osmscout_…
Browse files Browse the repository at this point in the history
…private

Fixing import library importing Config.h from osmscout library.
  • Loading branch information
Framstag committed Jun 18, 2023
2 parents 9b2e302 + 91b624c commit 42194dc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions Tests/src/HeaderCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ static const std::set<std::string> allowedDependencies{
"osmscoutgpx => osmscout.io",
"osmscoutgpx => osmscout", // Fix this

"osmscoutimport => osmscout.private", // Fix this
"osmscoutimport => osmscout.system",
"osmscoutimport => osmscout.util",
"osmscoutimport => osmscout.projection",
Expand All @@ -122,19 +121,20 @@ static const std::set<std::string> allowedDependencies{
"osmscoutimport => osmscout.feature",
"osmscoutimport => osmscout.routing",
"osmscoutimport => osmscout", // Fix it
"osmscoutimport => osmscoutimport.private",
"osmscoutimport => osmscoutimport.pbf",

"osmscoutmap.oss => osmscout.system",
"osmscoutmap.oss => osmscout.util",
"osmscoutmap.oss => osmscout.io",
"osmscoutmap.oss => osmscout", // Fix this
"osmscoutmap.oss => osmscoutmap", // Fix this
"osmscoutmap.oss => osmscout", // Fix this -> Helper and TypeService
"osmscoutmap.oss => osmscoutmap", // Fix this -> use of StyleConfig
"osmscoutmap => osmscout.system",
"osmscoutmap => osmscout.util",
"osmscoutmap => osmscout.projection",
"osmscoutmap => osmscout.feature",
"osmscoutmap => osmscout.io", // Fix this?
"osmscoutmap => osmscout.db", // Fix this?
"osmscoutmap => osmscout.io",
"osmscoutmap => osmscout.db", // Fix this? -> MapService makes heavy use of Database
"osmscoutmap => osmscoutmap.oss",
"osmscoutmap => osmscout",

Expand All @@ -158,17 +158,17 @@ static const std::set<std::string> allowedDependencies{
"osmscoutmapopengl => osmscout.system",
"osmscoutmapopengl => osmscout.util",
"osmscoutmapopengl => osmscout.projection",
"osmscoutmapopengl => osmscout.io", // Fix it?
"osmscoutmapopengl => osmscout.io",
"osmscoutmapopengl => osmscoutmap",

"osmscoutmapqt => osmscout.system",
"osmscoutmapqt => osmscout.util",
"osmscoutmapqt => osmscout.io", // Fix it?
"osmscoutmapqt => osmscout.io",
"osmscoutmapqt => osmscoutmap",

"osmscoutmapsvg => osmscout.system",
"osmscoutmapsvg => osmscout.util",
"osmscoutmapsvg => osmscout.io", // Fix it?
"osmscoutmapsvg => osmscout.io",
"osmscoutmapsvg => osmscoutmap",

"osmscout-test.olt => osmscout.util",
Expand Down
2 changes: 1 addition & 1 deletion libosmscout-import/src/osmscoutimport/GenCoordDat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <osmscoutimport/GenCoordDat.h>

#include <osmscout/private/Config.h>
#include <osmscoutimport/private/Config.h>

#if defined(HAVE_STD_EXECUTION)
#include <execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <osmscoutimport/GenOptimizeAreaWayIds.h>

#include <osmscout/private/Config.h>
#include <osmscoutimport/private/Config.h>

#if defined(HAVE_STD_EXECUTION)
#include <execution>
Expand Down
2 changes: 1 addition & 1 deletion libosmscout-import/src/osmscoutimport/Import.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include <osmscoutimport/Import.h>
#include <osmscout/private/Config.h>
#include <osmscoutimport/private/Config.h>

#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion libosmscout-import/src/osmscoutimport/Preprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <osmscoutimport/RawNode.h>
#include <osmscoutimport/RawWay.h>

#include <osmscout/private/Config.h>
#include <osmscoutimport/private/Config.h>

#if defined(HAVE_LIB_XML) || defined(OSMSCOUT_IMPORT_HAVE_XML_SUPPORT)
#include <osmscoutimport/PreprocessOSM.h>
Expand Down
2 changes: 1 addition & 1 deletion libosmscout-import/src/osmscoutimport/PreprocessPBF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <osmscoutimport/PreprocessPBF.h>

#include <osmscout/private/Config.h>
#include <osmscoutimport/private/Config.h>
#include <osmscoutimport/ImportFeatures.h>

#include <cstdio>
Expand Down

0 comments on commit 42194dc

Please sign in to comment.