diff options
author | Darafei Praliaskouski <komzpa@gmail.com> | 2013-02-18 16:01:02 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:51:08 +0300 |
commit | d454c374834a7091540dee308dc4294f85cf4f7e (patch) | |
tree | 3fa2822109648734e032545975441a4fdff7be67 /indexer/classificator_loader.cpp | |
parent | 36cb56960ae2860f858e7082bb9963979e4be909 (diff) |
Removed visibility.txt
Diffstat (limited to 'indexer/classificator_loader.cpp')
-rw-r--r-- | indexer/classificator_loader.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/indexer/classificator_loader.cpp b/indexer/classificator_loader.cpp index 34cc1fdc75..5b16ac1caf 100644 --- a/indexer/classificator_loader.cpp +++ b/indexer/classificator_loader.cpp @@ -17,7 +17,6 @@ namespace classificator { void ReadCommon(Reader * classificator, - Reader * visibility, Reader * types) { Classificator & c = classif(); @@ -32,14 +31,6 @@ namespace classificator } { - //LOG(LINFO, ("Reading visibility")); - ReaderStreamBuf buffer(visibility); - - istream s(&buffer); - c.ReadVisibility(s); - } - - { //LOG(LINFO, ("Reading types mapping")); ReaderStreamBuf buffer(types); @@ -48,20 +39,13 @@ namespace classificator } } - void ReadVisibility(string const & fPath) - { - ifstream s(fPath.c_str()); - classif().ReadVisibility(s); - } - void Load() { LOG(LDEBUG, ("Reading of classificator started")); Platform & p = GetPlatform(); - ReadCommon(p.GetReader("classificator.txt"), - p.GetReader("visibility.txt"), + ReadCommon(p.GetReader("classificator.txt"), p.GetReader("types.txt")); //LOG(LINFO, ("Reading of drawing rules")); |