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
path: root/search
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2016-09-07 13:43:16 +0300
committerYuri Gorshenin <y@maps.me>2016-09-07 14:09:46 +0300
commit68b48c5c260892e554b9dbaf55f846dd29ad1311 (patch)
tree4cafa608986c8f27d2037d7e4d07bb2078629429 /search
parente8a77fb0fbf27ba468a8b3f952efd0fb3743cabd (diff)
Review fixes.
Diffstat (limited to 'search')
-rw-r--r--search/displayed_categories.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/search/displayed_categories.hpp b/search/displayed_categories.hpp
index 781cb2a4d9..8f3cbd614c 100644
--- a/search/displayed_categories.hpp
+++ b/search/displayed_categories.hpp
@@ -18,6 +18,8 @@ public:
// of resources ids.
static vector<string> const & GetKeys();
+ // Calls |fn| on each pair (synonym name, synonym locale) for the
+ // |key|.
template <typename Fn>
void ForEachSynonym(string const & key, Fn && fn) const
{