From 769afa9f97959629f394d756fa09a7b3bccae2d3 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Fri, 1 Dec 2017 15:25:24 +0100 Subject: [PATCH] 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 --- src/libs/utils/algorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/algorithm.h b/src/libs/utils/algorithm.h index 2ff8f3e524b..4a4d17f9ebc 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 class C, typename... Args, typename T, typename R, typename S> +template class C, typename T, typename R, typename S, typename... Args> bool contains(const C &container, R (S::*function)() const) { return anyOf(container, function);