Utils.Transform: fix stolen const on MFP

Change-Id: I44ef3bac606a733a81f95472d0ca5bb50ee3bca0
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Nikita Baryshnikov
2015-02-11 12:27:43 +03:00
parent 85a502ab38
commit 5930e62b84

View File

@@ -324,7 +324,7 @@ template<template<typename> class C, // result container type
typename R,
typename S>
Q_REQUIRED_RESULT
auto transform(const SC &container, R (S::*p)())
auto transform(const SC &container, R (S::*p)() const)
-> C<typename RemoveCvAndReference<R>::type>
{
return TransformImpl<