diff options
author | vng <viktor.govako@gmail.com> | 2011-06-30 10:52:22 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:20:14 +0300 |
commit | 233683d1670e89076c82401e2693315046c7244e (patch) | |
tree | 3b0a9b71d53e853e663da18c362f6ba267b1bc85 /indexer/classificator.hpp | |
parent | f0587a9105b5519903f4f2c3dada1ee3572e7ce1 (diff) |
[Refactoring] Use Reader interface everywhere, when possible. Platform class now is a Reader factory.
Diffstat (limited to 'indexer/classificator.hpp')
-rw-r--r-- | indexer/classificator.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indexer/classificator.hpp b/indexer/classificator.hpp index 7204363d4d..cabec15a86 100644 --- a/indexer/classificator.hpp +++ b/indexer/classificator.hpp @@ -5,7 +5,6 @@ #include "../std/vector.hpp" #include "../std/string.hpp" -#include "../std/sstream.hpp" #include "../std/fstream.hpp" #include "../std/bitset.hpp" @@ -205,10 +204,10 @@ public: /// @name Serialization-like functions. //@{ - bool ReadClassificator(char const * fPath); + void ReadClassificator(string const & buffer); void PrintClassificator(char const * fPath); - bool ReadVisibility(char const * fPath); + void ReadVisibility(string const & buffer); void PrintVisibility(char const * fPath); void SortClassificator(); |