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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2017-10-25 12:03:51 +0300
committermpimenov <mpimenov@users.noreply.github.com>2017-10-25 17:10:31 +0300
commit5dbd3057262333b305dbd445dbeb314e3edfe8bd (patch)
treeb67d489f460bb08578061b405ad90072d0c0f0f0
parent86966941d1c31434f3e3d69bde23f1bc47fe200f (diff)
Minor fixes.
-rw-r--r--generator/transit_generator.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/generator/transit_generator.cpp b/generator/transit_generator.cpp
index 5dbdfcc91c..fbe15a35ad 100644
--- a/generator/transit_generator.cpp
+++ b/generator/transit_generator.cpp
@@ -66,23 +66,6 @@ Stop const & FindStopById(vector<Stop> const & stops, StopId stopId)
return *s1Id.first;
}
-/// Extracts the file name from |filePath| and drops all extensions.
-string GetFileName(string const & filePath)
-{
- string name = filePath;
- my::GetNameFromFullPath(name);
-
- string nameWithExt;
- do
- {
- nameWithExt = name;
- my::GetNameWithoutExt(name);
- }
- while (nameWithExt != name);
-
- return name;
-}
-
template <class Item>
void DeserializeFromJson(my::Json const & root, string const & key,
OsmIdToFeatureIdsMap const & osmIdToFeatureIdsMap, vector<Item> & items)