From 0188f5ee18d00ae18e65a03c712d3f701e84fa80 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. --- src/corelib/concurrent/qtconcurrentfunctionwrappers.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/corelib/concurrent/qtconcurrentfunctionwrappers.h b/src/corelib/concurrent/qtconcurrentfunctionwrappers.h index 5652609..4c4714f 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 v0.12