forked from qt-creator/qt-creator
Algorithm: Fix build issue with MSVC2015
Be more specific on which overload to call. Change-Id: Ie38252403774ea34c165daedd74c02bbed693439 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user