Move BORDERS_ constants to hpp

This commit is contained in:
Ilya Zverev 2015-03-12 17:39:22 +03:00 committed by Alex Zolotarev
parent ba9ae1788a
commit 3347c12b3e
3 changed files with 4 additions and 3 deletions

View file

@ -23,8 +23,6 @@
#include "../std/bind.hpp"
#define BORDERS_DIR "borders/"
#define BORDERS_EXTENSION ".borders"
#define POLYGONS_FILE "polygons.lst"

View file

@ -5,6 +5,9 @@
#include "../std/string.hpp"
#define BORDERS_DIR "borders/"
#define BORDERS_EXTENSION ".borders"
namespace borders
{
typedef m2::RegionD Region;

View file

@ -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
{