refactor: clang format line length

This commit is contained in:
Lars Toenning
2024-11-16 19:27:30 +01:00
parent c7779e1461
commit 1a0b2a8c5f
1352 changed files with 25994 additions and 26603 deletions

View File

@@ -117,8 +117,8 @@ namespace swift::misc
if (!m_finished) { functor(); }
}
//! Executes some code (in the caller's thread) if the task has finished and some different code if it has not finished.
//! \threadsafe The functor may not call any method that observes the worker's finished flag.
//! Executes some code (in the caller's thread) if the task has finished and some different code if it has not
//! finished. \threadsafe The functor may not call any method that observes the worker's finished flag.
template <typename F1, typename F2>
void doIfFinishedElse(F1 ifFunctor, F2 elseFunctor) const
{
@@ -260,7 +260,8 @@ namespace swift::misc
private:
CWorker(const std::function<QVariant()> &task) : m_task(task) {}
static CWorker *fromTaskImpl(QObject *owner, const QString &name, int typeId, const std::function<QVariant()> &task);
static CWorker *fromTaskImpl(QObject *owner, const QString &name, int typeId,
const std::function<QVariant()> &task);
template <typename R>
R resultNoWait()