Commit defb18ae authored by Eike Ziller's avatar Eike Ziller
Browse files

Algorithm: Fix build issue with MSVC2015



Be more specific on which overload to call.

Change-Id: Ie38252403774ea34c165daedd74c02bbed693439
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent dd009004
......@@ -246,7 +246,7 @@ template<template<typename> class C, // result container type
Q_REQUIRED_RESULT
auto transform(const SC<T> &container, R (S::*p)() const) -> ResultContainer<C, SC, T, R(S::*)() const>
{
return Utils::transform<C>(container, std::mem_fn(p));
return Utils::transform<C, SC, T>(container, std::mem_fn(p));
}
// same container type for input and output, e.g. transforming a QList<QString> into QList<int>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment