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>2012-02-06 20:55:55 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:33:15 +0300
commit87dac6640a1e34983fa5783f0ad0fc909faa9638 (patch)
tree910b8b5f178e22e838870268ff0dfd6af3e79997 /indexer/classificator_loader.cpp
parentf894f49017cfed69e54b2eade7f79906c24b8022 (diff)
Some merging.
Diffstat (limited to 'indexer/classificator_loader.cpp')
-rw-r--r--indexer/classificator_loader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indexer/classificator_loader.cpp b/indexer/classificator_loader.cpp
index 27f65bb984..b54ddf35a2 100644
--- a/indexer/classificator_loader.cpp
+++ b/indexer/classificator_loader.cpp
@@ -71,8 +71,7 @@ namespace classificator
string buffer;
ModelReaderPtr(p.GetReader(DRAWING_RULES_BIN_FILE)).ReadAsString(buffer);
- istream s(&buffer);
- rules.LoadFromBinaryProto(s);
+ rules.LoadFromBinaryProto(buffer);
#else
// Load from proto buffer text file.
string buffer;