forked from qt-creator/qt-creator
Utils.Transform: fix stolen const on MFP
Change-Id: I44ef3bac606a733a81f95472d0ca5bb50ee3bca0 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -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<
|
||||
|
Reference in New Issue
Block a user