diff --git a/src/corelib/tools/qalgorithms.h b/src/corelib/tools/qalgorithms.h index 14465240b4..854276d150 100644 --- a/src/corelib/tools/qalgorithms.h +++ b/src/corelib/tools/qalgorithms.h @@ -142,15 +142,9 @@ QT_DEPRECATED_X("Use std::count") inline void qCount(const Container &container, } #ifdef Q_QDOC -template -LessThan qLess() -{ -} - -template -LessThan qGreater() -{ -} +typedef void* LessThan; +template LessThan qLess(); +template LessThan qGreater(); #else template class QT_DEPRECATED_X("Use std::less") qLess