From 9c3911741968ffaf249d4e23c2c092b7ec135fdb Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 20 Apr 2011 15:43:53 +0200 Subject: compile with windows MSVC doesn't pick up the right template partial specialisation. (cherry picked from commit 0188f5ee18d00ae18e65a03c712d3f701e84fa80) --- src/corelib/concurrent/qtconcurrentfunctionwrappers.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/corelib/concurrent') diff --git a/src/corelib/concurrent/qtconcurrentfunctionwrappers.h b/src/corelib/concurrent/qtconcurrentfunctionwrappers.h index 56526091fe..4c4714fe45 100644 --- a/src/corelib/concurrent/qtconcurrentfunctionwrappers.h +++ b/src/corelib/concurrent/qtconcurrentfunctionwrappers.h @@ -216,14 +216,14 @@ struct MapResultType typedef typename MapFunctor::result_type ResultType; }; -template -struct MapResultType +template +struct MapResultType { typedef U ResultType; }; -template -struct MapResultType +template +struct MapResultType { typedef T ResultType; }; -- cgit v1.2.3