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:
Diffstat (limited to 'search/categories_holder.hpp')
-rw-r--r--search/categories_holder.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/search/categories_holder.hpp b/search/categories_holder.hpp
index d25d9b0f5e..b331ef9c45 100644
--- a/search/categories_holder.hpp
+++ b/search/categories_holder.hpp
@@ -3,9 +3,9 @@
#include "../std/vector.hpp"
#include "../std/string.hpp"
-#include "../std/fstream.hpp"
#include "../std/algorithm.hpp"
+
namespace search
{
@@ -34,7 +34,7 @@ public:
typedef ContainerT::const_iterator const_iterator;
/// @return number of loaded categories or 0 if something goes wrong
- size_t LoadFromStream(istream & stream);
+ size_t LoadFromStream(string const & buffer);
template <class ToDo>
void ForEachCategory(ToDo toDo) const