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/types_mapping.hpp | |
parent | c11367ac7accbbff694befc754132c3da8b76540 (diff) |
Avoid overhead in classificator reading (read to string -> istringstream).
Add reading of binary proto drawing rules.
Diffstat (limited to 'indexer/types_mapping.hpp')
-rw-r--r-- | indexer/types_mapping.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indexer/types_mapping.hpp b/indexer/types_mapping.hpp index 57605c4278..79eb5a72c7 100644 --- a/indexer/types_mapping.hpp +++ b/indexer/types_mapping.hpp @@ -3,6 +3,7 @@ #include "../std/vector.hpp" #include "../std/map.hpp" +#include "../std/fstream.hpp" class BaseTypeMapper @@ -11,7 +12,7 @@ protected: virtual void Add(uint32_t ind, uint32_t type) = 0; public: - void Load(string const & buffer); + void Load(istream & s); }; class Index2Type : public BaseTypeMapper |