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/result.hpp')
-rw-r--r--search/result.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/search/result.hpp b/search/result.hpp
index 6a1326b804..88c3221dbe 100644
--- a/search/result.hpp
+++ b/search/result.hpp
@@ -100,6 +100,11 @@ public:
{
m_vec.swap(rhs.m_vec);
}
+
+ template <class LessT> void Sort(LessT lessFn)
+ {
+ sort(m_vec.begin(), m_vec.end(), lessFn);
+ }
};
}