forked from organicmaps/organicmaps
Move BORDERS_ constants to hpp
This commit is contained in:
parent
ba9ae1788a
commit
3347c12b3e
3 changed files with 4 additions and 3 deletions
|
@ -23,8 +23,6 @@
|
|||
#include "../std/bind.hpp"
|
||||
|
||||
|
||||
#define BORDERS_DIR "borders/"
|
||||
#define BORDERS_EXTENSION ".borders"
|
||||
#define POLYGONS_FILE "polygons.lst"
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
|
||||
#include "../std/string.hpp"
|
||||
|
||||
#define BORDERS_DIR "borders/"
|
||||
#define BORDERS_EXTENSION ".borders"
|
||||
|
||||
namespace borders
|
||||
{
|
||||
typedef m2::RegionD Region;
|
||||
|
|
|
@ -223,7 +223,7 @@ int main(int argc, char ** argv)
|
|||
{
|
||||
osm::GenerateBordersFromOsm(FLAGS_generate_borders,
|
||||
path + FLAGS_output + ".osm",
|
||||
path + FLAGS_output + ".borders");
|
||||
path + FLAGS_output + BORDERS_EXTENSION);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue