mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +02:00
type & squish again
This commit is contained in:
parent
599fe09e75
commit
7079b5f978
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
|
|
||||||
class MutexTryLocker {
|
class MutexTryLocker {
|
||||||
QMutex & _mutex;
|
QMutex& _mutex;
|
||||||
bool _locked{ false };
|
bool _locked{ false };
|
||||||
public:
|
public:
|
||||||
MutexTryLocker(QMutex &m) : _mutex(m), _locked(m.tryLock()) {}
|
MutexTryLocker(QMutex &m) : _mutex(m), _locked(m.tryLock()) {}
|
||||||
|
|
Loading…
Reference in a new issue