diff options
author | vng <viktor.govako@gmail.com> | 2011-11-25 00:28:17 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:28:44 +0300 |
commit | 65530f86918698ec5cc6dbdd408e6295c28f7c1a (patch) | |
tree | 2b95e76f79c16a60b38e0b1a95ac72bebadfba8f /indexer/classificator.hpp | |
parent | c11367ac7accbbff694befc754132c3da8b76540 (diff) |
Avoid overhead in classificator reading (read to string -> istringstream).
Add reading of binary proto drawing rules.
Diffstat (limited to 'indexer/classificator.hpp')
-rw-r--r-- | indexer/classificator.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/classificator.hpp b/indexer/classificator.hpp index 8012a8f55c..cc0249215f 100644 --- a/indexer/classificator.hpp +++ b/indexer/classificator.hpp @@ -217,13 +217,13 @@ public: /// @name Serialization-like functions. //@{ - void ReadClassificator(string const & buffer); + void ReadClassificator(istream & s); void PrintClassificator(char const * fPath); - void ReadVisibility(string const & buffer); + void ReadVisibility(istream & s); void PrintVisibility(char const * fPath); - void ReadTypesMapping(string const & buffer); + void ReadTypesMapping(istream & s); void SortClassificator(); //@} |