diff options
| author | Martin Smith <martin.smith@qt.io> | 2018-01-03 13:21:57 +0100 |
|---|---|---|
| committer | Martin Smith <martin.smith@qt.io> | 2018-01-04 12:50:42 +0000 |
| commit | 58a47ccfe5bbd10c1f055c70ca87b6bded57fd4a (patch) | |
| tree | 57be7e5aac39151c8c5f26cb63a6204ede00421b /src/corelib/thread/qmutex.h | |
| parent | 9e005c94010781de47fdf92733ea973001cf1ed5 (diff) | |
doc: Correct remaining qdoc warnings in qmutex.cpp
clang required adding template clauses to a few \fn commands.
|| defined(Q_CLANG_QDOC) was also added in qmutex.h.
Change-Id: I7e61f460a8f8f15032094fb35c02f73721a5eb8a
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/thread/qmutex.h')
| -rw-r--r-- | src/corelib/thread/qmutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h index 3dff3635411..7cda53db5f7 100644 --- a/src/corelib/thread/qmutex.h +++ b/src/corelib/thread/qmutex.h @@ -139,7 +139,7 @@ public: // Lockable concept bool try_lock() QT_MUTEX_LOCK_NOEXCEPT { return tryLock(); } -#if QT_HAS_INCLUDE(<chrono>) +#if QT_HAS_INCLUDE(<chrono>) || defined(Q_CLANG_QDOC) // TimedLockable concept template <class Rep, class Period> bool try_lock_for(std::chrono::duration<Rep, Period> duration) |
