Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-02-05 16:18:46 +0300
committerSergey Sharybin <sergey@blender.org>2021-02-05 17:39:50 +0300
commit56903024dccd0e5ae4fae40925348416f989144b (patch)
tree0cde763fb1dcbda50be78571ceda1bf48ee431b9 /source/blender/blenlib/intern
parent4d39a0f8eb1103aa58611fff7219f4bf3d70f70f (diff)
Cleanup: Use transparent functor
Resolves modernize-use-transparent-functors Clang-Tidy warning. Differential Revision: https://developer.blender.org/D10323
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r--source/blender/blenlib/intern/string_search.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/string_search.cc b/source/blender/blenlib/intern/string_search.cc
index d64587b85b4..a5983967542 100644
--- a/source/blender/blenlib/intern/string_search.cc
+++ b/source/blender/blenlib/intern/string_search.cc
@@ -446,7 +446,7 @@ int BLI_string_search_query(StringSearch *search, const char *query, void ***r_d
for (const int score : result_indices_by_score.keys()) {
found_scores.append(score);
}
- std::sort(found_scores.begin(), found_scores.end(), std::greater<int>());
+ std::sort(found_scores.begin(), found_scores.end(), std::greater<>());
/* Add results to output vector in correct order. First come the results with the best match
* score. Results with the same score are in the order they have been added to the search. */