Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2013-05-17 23:27:19 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:54:59 +0300
commit6c17666ef4531a8ca1bb8e878924a823b1b2788c (patch)
treee835180863445a22080b7fa794c1e874594f2e33 /map/ge0_parser.hpp
parent9d4f2c6bbedf3d963eb2b9b15063ddb5cbe1a312 (diff)
Maximum name length in "ge0" url is 256 now.
Diffstat (limited to 'map/ge0_parser.hpp')
-rw-r--r--map/ge0_parser.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/map/ge0_parser.hpp b/map/ge0_parser.hpp
index 5d668e329c..a769e537bb 100644
--- a/map/ge0_parser.hpp
+++ b/map/ge0_parser.hpp
@@ -2,7 +2,6 @@
#include "../base/base.hpp"
#include "../std/string.hpp"
-static const int NAME_POSITON_IN_URL = 17;
namespace url_api
{
@@ -23,7 +22,7 @@ protected:
void DecodeLatLonToInt(string const & url, int & lat, int & lon, int const bytes);
double DecodeLatFromInt(int const lat, int const maxValue);
double DecodeLonFromInt(int const lon, int const maxValue);
- string DecodeName(string const & name);
+ string DecodeName(string name);
void SpacesToUnderscore(string & name);
void ValidateName(string & name);
static bool IsHexChar(char const a);