aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/algorithm.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-12-01 15:25:24 +0100
committerTobias Hunger <tobias.hunger@qt.io>2017-12-01 14:41:22 +0000
commit769afa9f97959629f394d756fa09a7b3bccae2d3 (patch)
treea8255bed9ac6e9261e538bec739710fe8167fc80 /src/libs/utils/algorithm.h
parent2c09424c13a0bf4d63feca096d4170bca36293af (diff)
Utils: Move variadice template arguments to the end
Move variadic template arguments to the end for all users in algorithm.h. Change-Id: I7c8f1254e7de6ee9737e73d1a4721e71c188438e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/utils/algorithm.h')
-rw-r--r--src/libs/utils/algorithm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/algorithm.h b/src/libs/utils/algorithm.h
index 2ff8f3e524..4a4d17f9eb 100644
--- a/src/libs/utils/algorithm.h
+++ b/src/libs/utils/algorithm.h
@@ -114,7 +114,7 @@ bool contains(const T &container, R (S::*function)() const)
return anyOf(container, function);
}
-template<template<typename, typename...> class C, typename... Args, typename T, typename R, typename S>
+template<template<typename, typename...> class C, typename T, typename R, typename S, typename... Args>
bool contains(const C<T, Args...> &container, R (S::*function)() const)
{
return anyOf(container, function);