diff --git a/src/libs/utils/algorithm.h b/src/libs/utils/algorithm.h
index 6ed0e9936c293f6d56db8e0f4650df4d0ceb74c2..52c8b7b78e074e91e911cc43946cdd4f7c34c88a 100644
--- a/src/libs/utils/algorithm.h
+++ b/src/libs/utils/algorithm.h
@@ -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>