diff options
author | vng <viktor.govako@gmail.com> | 2012-02-06 20:55:55 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:33:15 +0300 |
commit | 87dac6640a1e34983fa5783f0ad0fc909faa9638 (patch) | |
tree | 910b8b5f178e22e838870268ff0dfd6af3e79997 /indexer/classificator_loader.cpp | |
parent | f894f49017cfed69e54b2eade7f79906c24b8022 (diff) |
Some merging.
Diffstat (limited to 'indexer/classificator_loader.cpp')
-rw-r--r-- | indexer/classificator_loader.cpp | 3 |
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; |